The VGIPrincipal type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetAllCurrentPermissions |
Return all permission for current application
| |
GetAllUsersId | ||
GetPermission(Guid) |
Gets the specified VGIPermission object.
| |
GetPermission(String) |
Gets the specified VGIPermission object.
| |
HasPermission(Guid) |
Checks whether the specified permission is granted to the principal.
| |
HasPermission(String) |
Checks whether the specified permission is granted to the principal.
| |
HasPermission(Guid, Boolean) |
Checks whether the specified permission is granted to the principal.
| |
IsInRole(String) |
Determines whether the current principal belongs to the specified role.
(Inherited from IPrincipal.) | |
IsInRole(Guid) |
Determines whether the current principal belongs to the role with the specified id.
| |
IsInRole(String) |
Determines whether the current principal belongs to the specified role.
| |
SelectContextualGroups |
This method applies selection of contextual groups to principal.
| |
TryGetPermission(Guid, VGIPermission%) |
Retrieves the VGIPermission object granted to principal with the specified id.
| |
TryGetPermission(String, VGIPermission%) |
Retrieves the VGIPermission object granted to principal with the specified name.
|