Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public VGPrincipalPermission( Guid repositoryId, VGPermissionType type, bool isAuthenticated ) |
Visual Basic |
---|
Public Sub New ( repositoryId As Guid, type As VGPermissionType, isAuthenticated As Boolean ) |
Parameters
- repositoryId
- Type: System..::..Guid
The Visual Guard unique identifier of the role or the permission for which to check membership.
- type
- Type: Novalys.VisualGuard.Security..::..VGPermissionType
the type of the item to check (role or permission)
- isAuthenticated
- Type: System..::..Boolean
true to signify that the user is authenticated; otherwise, false.
Remarks
When isAuthenticated is equal to false, repositoryId is ignored.