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

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

Syntax

C#
public VGAuthenticationSucceededEventArgs(
	IIdentity identity,
	VGAuthenticationStatus status,
	VGGrantedRole[] grantedRoles,
	string message
)
Visual Basic
Public Sub New ( 
	identity As IIdentity,
	status As VGAuthenticationStatus,
	grantedRoles As VGGrantedRole(),
	message As String
)

Parameters

identity
Type: System.Security.Principal..::..IIdentity

A IIdentity object representing the user for which the authentication succeeds.

status
Type: Novalys.VisualGuard.Security..::..VGAuthenticationStatus

The VGAuthenticationStatus indicating the status the authentication.

grantedRoles
Type: array<Novalys.VisualGuard.Security..::..VGGrantedRole>[]()[][]

A list of VGGrantedRole objects representing the list of roles granted to the user.

message
Type: System..::..String
a string value representing the default message that will be displayed to the user.

See Also