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.
| |
SelectContextualGroup |
This method applies selection of contextual group to principal.
| |
SelectContextualGroups(List<(Of <<'(VGContextualGroup>)>>)) |
This method applies selection of contextual groups to principal.
| |
SelectContextualGroups(List<(Of <<'(VGGrantedGroup>)>>)) | Obsolete.
This method applies selection of contextual groups to principal.
| |
SelectContextualRole |
This method applies selection of contextual role to principal.
| |
SelectContextualRoles(List<(Of <<'(VGGrantedRole>)>>)) |
This method applies selection of contextual roles to principal.
| |
SelectContextualRoles(VGSecurityRuntime, List<(Of <<'(VGGrantedRole>)>>)) |
This method applies selection of contextual roles 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 | |
---|---|---|
ContextualGroups |
This property contains all contextual groups which are selectable.
| |
ContextualProfileValues |
Gets contextual group's User Profile value of the current user.
| |
GrantedGroups |
This property contains all granted groups to the user.
| |
Groups |
This property contains all granted groups which are Active.
| |
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 of current application granted to the user
| |
Runtime | Obsolete.
Returns the VGSecurityRuntime object used to manage the principal.
| |
SelectedContextualGroups |
This property contains contextual groups which are selected.
| |
Token |