The VGIPrincipal type exposes the following members.

Methods

  NameDescription
Public methodGetAllCurrentPermissions
Return all permission for current application
Public methodGetAllUsersId
Public methodGetPermission(Guid)
Gets the specified VGIPermission object.
Public methodGetPermission(String)
Gets the specified VGIPermission object.
Public methodHasPermission(Guid)
Checks whether the specified permission is granted to the principal.
Public methodHasPermission(String)
Checks whether the specified permission is granted to the principal.
Public methodHasPermission(Guid, Boolean)
Checks whether the specified permission is granted to the principal.
Public methodIsInRole(String)
Determines whether the current principal belongs to the specified role.
(Inherited from IPrincipal.)
Public methodIsInRole(Guid)
Determines whether the current principal belongs to the role with the specified id.
Public methodIsInRole(String)
Determines whether the current principal belongs to the specified role.
Public methodSelectContextualGroup
This method applies selection of contextual group to principal.
Public methodSelectContextualGroups(List<(Of <<'(VGContextualGroup>)>>))
This method applies selection of contextual groups to principal.
Public methodSelectContextualGroups(List<(Of <<'(VGGrantedGroup>)>>)) Obsolete.
This method applies selection of contextual groups to principal.
Public methodSelectContextualRole
This method applies selection of contextual role to principal.
Public methodSelectContextualRoles(List<(Of <<'(VGGrantedRole>)>>))
This method applies selection of contextual roles to principal.
Public methodSelectContextualRoles(VGSecurityRuntime, List<(Of <<'(VGGrantedRole>)>>))
This method applies selection of contextual roles to principal.
Public methodTryGetPermission(Guid, VGIPermission%)
Retrieves the VGIPermission object granted to principal with the specified id.
Public methodTryGetPermission(String, VGIPermission%)
Retrieves the VGIPermission object granted to principal with the specified name.

See Also