Initializes a new instance of the VGPermissionsLoadingEventArgs class with an action, the node it was performed upon, and the parent node.
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public VGPermissionsLoadingEventArgs( IIdentity identity, VGGrantedRole[] roles, VGAuthorizationStatus status, string repositoryId ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ identity As IIdentity, _ roles As VGGrantedRole(), _ status As VGAuthorizationStatus, _ repositoryId As String _ ) |
Parameters
- identity
- Type: System.Security.Principal..::.IIdentity
The IIdentity corresponding to the user for which the permission will be loaded.
- roles
- Type: array<
Novalys.VisualGuard.Security..::.VGGrantedRole
>[]()[]
The list of VGGrantedRole corresponding to the list of roles for the given identity.
- status
- Type: Novalys.VisualGuard.Security..::.VGAuthorizationStatus
The VGAuthorizationStatus representing the status of the current authorization process.
- repositoryId
- Type: System..::.String
the repository id of the user for which the permission will be loaded.