Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6758 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.