VGIPrincipal Interface |
Namespace: Novalys.VisualGuard.Security
The VGIPrincipal type exposes the following members.
Name | Description | |
---|---|---|
ContextualGroups |
This property contains all contextual groups which are selectable.
| |
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.
| |
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 values 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 |
Name | Description | |
---|---|---|
CanAccessApplication(Guid) |
Gets if principal has access for particular application or not.
| |
CanAccessApplication(String) |
Gets if principal has access for particular application or not.
| |
CanAccessApplication(VGApplication) |
Gets if principal has access for particular application or not.
| |
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(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(ListVGContextualGroup) |
This method applies selection of contextual groups to principal.
| |
SelectContextualGroups(ListVGGrantedGroup) | Obsolete.
This method applies selection of contextual groups to principal.
| |
SelectContextualRole |
This method applies selection of contextual role to principal.
| |
SelectContextualRoles(ListVGGrantedRole) |
This method applies selection of contextual roles to principal.
| |
SelectContextualRoles(VGSecurityRuntime, ListVGGrantedRole) |
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.
|