nandito Posted May 11, 2006 Posted May 11, 2006 Hi Gang, Sorry this might be a newbie question. I want to have two sets of priviledges. One full, one limited. When loading my application, I want to determine which layout to go to depending on the user privileges. Can someone please point me in the right direction as to how I would script this? I know about setting up the startup script, I just don't know how to start scripting. Many thanks, Nando
John Mark Osborne Posted May 11, 2006 Posted May 11, 2006 Use the Get(PrivilegeSetName) function in an IF script step to test for the privilege set. It might look like this: If [Get(PrivilegeSetName) = "[Full Access]}] Go to Layout ["All Fields" (MYTABLE)] Else Go to Layout ["Less Fields" (MYTABLE)] End If You can add Else If steps if you want to check for more than 2 privilege sets.
Recommended Posts
This topic is 6758 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now