Loads the permissions of the given IIdentity object.
A VGAuthorizationState representing the state of the authorization
If a user has more than one role in the application, you can use the PermissionsLoading event to allow the user to select a role in the granted roles list. By default, Visual Guard will create permission set that will be a union of all permision sets granted to the roles.
Exception Type | Condition |
---|---|
NotSupportedException | The identity is WindowsIdentity and the repository does not support Windows authentication Mode. |
VGConfigurationException | The configuration file is not valid or A problem occurs during the connection to the repository.or The version of the repository or the version of the permissions is not supported by the application. |
VGSecurityManager Class | Novalys.VisualGuard.Security Namespace | VGSecurityManager.LoadSecurity Overload List | PermissionsLoading