Visual Guard Class Library Documentation

VGSecurityRuntime.VGPermissionsLoadingEventHandler Event

Occurs before the permissions are loaded and allows filtering the list of user's roles.

public event VGPermissionsLoadingEventHandler PermissionsLoading;

Event Data

The event handler receives an argument of type VGPermissionsLoadingEventArgs containing data related to this event. The following VGPermissionsLoadingEventArgs properties provide information specific to this event.

Property Description
Identity Gets the IIdentity representing the user for which the permission will be loaded.
RepositoryId Gets the Visual Guard Repository Id of the user for which the permission will be loaded.
Roles Gets or sets the list of VGGrantedRole corresponding to roles granted to the user.
Status Gets or sets the VGAuthorizationStatus representing the status of the current authorization process.

Remarks

For more information about this event, you can see PermissionsLoading.

See Also

VGSecurityRuntime Class | Novalys.VisualGuard.Security Namespace