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.

Properties

  NameDescription
Public propertyContextualGroups
This property contains all contextual groups which are selectable.
Public propertyContextualProfileValues
Gets contextual group's User Profile value of the current user.
Public propertyGrantedGroups
This property contains all granted groups to the user.
Public propertyGroups
This property contains all granted groups which are Active.
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 of current application granted to the user
Public propertyRuntime Obsolete.
Returns the VGSecurityRuntime object used to manage the principal.
Public propertySelectedContextualGroups
This property contains contextual groups which are selected.
Public propertyToken

See Also