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.
|
Properties
Name | Description | |
---|---|---|
GrantedGroups | ||
Groups | ||
Identity |
Gets the identity of the current principal.
(Inherited from IPrincipal.) | |
Identity |
Gets the identity of the current principal.
| |
MembershipPermission |
Gets a value that indicates whether the current user can use Membership API to edit, create, delete or assign role to users for the current application
| |
ProfileValues |
Get User Profile value of the current user.
| |
RepositoryId |
Gets the Visual Guard unique ID for this principal
| |
Roles |
Gets the list of roles granted to the user
| |
Runtime | Obsolete.
Returns the VGSecurityRuntime object used to manage the principal.
| |
Token |