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.

Properties

  NameDescription
Public propertyGrantedGroups
Public propertyGroups
Public propertyIdentity
Gets the identity of the current principal.
(Inherited from IPrincipal.)
Public propertyIdentity
Gets the identity of the current principal.
Public propertyMembershipPermission
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
Public propertyProfileValues
Get User Profile value of the current user.
Public propertyRepositoryId
Gets the Visual Guard unique ID for this principal
Public propertyRoles
Gets the list of roles granted to the user
Public propertyRuntime Obsolete.
Returns the VGSecurityRuntime object used to manage the principal.
Public propertyToken

See Also