General Question regarding security.
If a panel has a button which requires a certain user level to allow the button to be clicked.
What is the proper way to do this?
I had looked at the "getUserPermissions" function where I can interrogate the permission level of the active user and this seems to work.
- Mike.
User Security
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: User Security
Hello,
you are right.
To check a permission during runtime in a CTRL script the function getUserPermission() is used.
You could also check the permission when opening the panel and set the button disabled.
Best Regards
Leopold Knipp
Senior Support Specialist
you are right.
To check a permission during runtime in a CTRL script the function getUserPermission() is used.
You could also check the permission when opening the panel and set the button disabled.
Best Regards
Leopold Knipp
Senior Support Specialist
- mmarofsky
- Posts:8
- Joined: Tue Sep 02, 2014 6:12 pm
Re: User Security
Thank you! I appreciate the response!