Knowledgebase
Check for permissions in code instead of using VG permission
Posted by z Jean-jacques Jouanneaux on 26 August 2010 02:15 PM

Can we check for permissions in code instead of relying on the console to connect to the application and determining whether certain controls are visible/enabled?

You can check in code that the current user has a given permission with the GetPermissionMethod
You can also check the role of the current user, get its list of permissions, etc...

GetPermissionMethod
http://www.visual-guard.com/EN/dotnet-s ... sion_1.htm


Visual Guard .NET

(0 vote(s))
Helpful
Not helpful

Comments (0)
Help Desk by Novalys