Visual Guard Class Library Documentation

VGPrincipalPermission Constructor (Guid, VGPermissionType, Boolean)

Initializes a new instance of the VGPrincipalPermission class for the specified role or permission.

public VGPrincipalPermission(
   Guid repositoryId,
   VGPermissionType type,
   Boolean isAuthenticated
);

Parameters

repositoryId
The Visual Guard unique identifier of the role or the permission for which to check membership.
type
the type of the item to check (role or permission)
isAuthenticated

Remarks

isAuthenticated is equal to false, repositoryId is ignored. true to signify that the user is authenticated; otherwise, false.

See Also

VGPrincipalPermission Class | Novalys.VisualGuard.Security Namespace | VGPrincipalPermission Constructor Overload List