Visual Guard Class Library Documentation

VGIPrincipal Members

VGIPrincipal overview

Public Instance Properties

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
RepositoryId Gets the Visual Guard unique ID for this principal
Roles Gets the list of roles granted to the user
Runtime Returns the VGSecurityRuntime object used to manage the principal.

Public Instance Methods

GetPermissionOverloaded. Gets the specified VGIPermission object.
HasPermissionOverloaded. Checks whether the specified permission is granted to the principal.
IsInRoleOverloaded. Determines whether the current principal belongs to the role with the specified id.
TryGetPermissionOverloaded. Retrieves the VGIPermission object granted to principal with the specified id.

See Also

VGIPrincipal Interface | Novalys.VisualGuard.Security Namespace | VGPrincipalPermission | VGPrincipalPermissionAttribute