May 11, 200619 yr 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
May 11, 200619 yr 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.
Create an account or sign in to comment