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 methodSelectContextualGroups
This method applies selection of contextual groups 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