Initializes a new instance of the VGPermissionsLoadingEventArgs class with an action, the node it was performed upon, and the parent node.

Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGPermissionsLoadingEventArgs(
	IIdentity identity,
	VGGrantedRole[] roles,
	VGAuthorizationStatus status,
	string repositoryId
)
Visual Basic
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.

See Also