I would like to add the logged in user's user_id to the application object when they log in


I would like to add the logged in user's user_id to the application...
Author
Message
Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
So can you help me with this Smile ?

Thanks

Replies
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Marcia.

Have a look at Role-Based Security / Defining Security within the Application / Deploying Security Data.

Then you will find a topic about Deploying Security Data Without the DDT.

But if I were you, I would consider getting the DDT too. Wink

Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Ivan George Borges (10/30/2008)
Hi Marcia.

Have a look at Role-Based Security / Defining Security within the Application / Deploying Security Data.

Then you will find a topic about Deploying Security Data Without the DDT.

But if I were you, I would consider getting the DDT too. Wink

I have my husband the DBA to handle the stored procedures Smile

I am pretty comfortable in SQL Server, so I really do not need it. I found the topic and I did run the script. My problem is that when I run the security maintenace form and run it, it populates the tables in the Strataframe database and not my application database. All I want to know is how to make it update the tables in my database and I can't seem to find an answer to that question anywhere.

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Whenever you run it from the VS IDE, you will get the data from the StrataFrame database.

You will have to script the import procedure to get that info from the SFS tables in the StrataFrame database and then append them to your client's database or to your testing database in you network. So, when you run the application and point it to its database, you will be speaking to the SFS tables in it.

Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Ivan George Borges (10/30/2008)
Whenever you run it from the VS IDE, you will get the data from the StrataFrame database.

You will have to script the import procedure to get that info from the SFS tables in the StrataFrame database and then append them to your client's database or to your testing database in you network. So, when you run the application and point it to its database, you will be speaking to the SFS tables in it.

OK - I finally did figure that one out. So I created a simple security based application with one form that called the maintenace form and got an error when I tried to save a new user saying that a solumn in my users table did not exist. So apparently the script provided to generate the tables in my database is not correct Sad

Thanks for the assistance.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
So apparently the script provided to generate the tables in my database is not correct.




I haven't upgraded to the latest version (1.6.6), but the link in my help file is to a script from 2006. There are no auditing tables in it, so looks like SF probably needs to provide a new script for the security tables.
Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Greg McGuffey (10/30/2008)
So apparently the script provided to generate the tables in my database is not correct.


I haven't upgraded to the latest version (1.6.6), but the link in my help file is to a script from 2006. There are no auditing tables in it, so looks like SF probably needs to provide a new script for the security tables.

Well, I have given up on trying to integrate RBS into my app for now. I have too much stuff to work on so I can take this app live within the next week or so. I can deal with the discrepancies. I have my own set of utility programs that can create a working script (correctly - not like how SQL Server does it BigGrin ) from a set of tables.

When I have phase 1 finished, I will revisit the RBS integration.

Thanks for all the help Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Marcia G Akins - 17 Years Ago
Edhy Rijo - 17 Years Ago
Marcia G Akins - 17 Years Ago
Edhy Rijo - 17 Years Ago
Marcia G Akins - 17 Years Ago
                         Marcia,

Well, you could just take a play out of the SF...
Greg McGuffey - 17 Years Ago
                             [quote][b]Greg McGuffey (10/29/2008)[/b][hr]Marcia, Well, you could...
Marcia G Akins - 17 Years Ago
                                 Basically he is telling you that since you have your own security to...
Trent L. Taylor - 17 Years Ago
                                     [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]Basically he is telling...
Marcia G Akins - 17 Years Ago
                                     [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]Basically he is telling...
Marcia G Akins - 17 Years Ago
                                         Just open up the Activation client and deactivate your current...
Trent L. Taylor - 17 Years Ago
                                             [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]Just open up the...
Marcia G Akins - 17 Years Ago
                                                 Ok, Trent. Now you really asked for it :P I already have a table in...
Marcia G Akins - 17 Years Ago
                                                     Ehhh....that could be tough. Not saying it is impossible, but you will...
Trent L. Taylor - 17 Years Ago
                                                         [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]Ehhh....that could be...
Marcia G Akins - 17 Years Ago
                                                             That should work...the only thing that I don't understand is why PKs...
Trent L. Taylor - 17 Years Ago
                                                                 [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]That should work...the...
Marcia G Akins - 17 Years Ago
                                                                     No, you can retro-fit the security into your application. But the...
Trent L. Taylor - 17 Years Ago
                                                                         [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]No, you can retro-fit...
Marcia G Akins - 17 Years Ago
                                                                         [quote][b]Trent L. Taylor (10/30/2008)[/b][hr]No, you can retro-fit...
Marcia G Akins - 17 Years Ago
                                                                             When you use the Security editor via the SF menu, you will pick/create...
Greg McGuffey - 17 Years Ago
                                                                                 [quote][b]Greg McGuffey (10/30/2008)[/b][hr]When you use the Security...
Marcia G Akins - 17 Years Ago
                                                                                     Hi Marcia. Have a look at Role-Based Security / Defining Security...
Ivan George Borges - 17 Years Ago
                                                                                         [quote][b]Ivan George Borges (10/30/2008)[/b][hr]Hi Marcia. Have a...
Marcia G Akins - 17 Years Ago
                                                                                             Whenever you run it from the VS IDE, you will get the data from the...
Ivan George Borges - 17 Years Ago
                                                                                                 [quote][b]Ivan George Borges (10/30/2008)[/b][hr]Whenever you run it...
Marcia G Akins - 17 Years Ago
                                                                                                     [quote]So apparently the script provided to generate the tables in my...
Greg McGuffey - 17 Years Ago
                                                                                                         [quote][b]Greg McGuffey (10/30/2008)[/b][hr][quote]So apparently the...
Marcia G Akins - 17 Years Ago
Larry Caylor - 17 Years Ago
Larry Caylor - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Marcia G Akins - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         [quote][b]Trent L. Taylor (10/31/2008)[/b][hr]If you only plan to have...
Marcia G Akins - 17 Years Ago
                             That would be the safest way to go. :)
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search