The VGRolesInstance type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddUsersToRole | Overloaded. | |
| AddUsersToRoles | Overloaded. | |
| AddUsersToRolesById | Overloaded. | |
| AddUserToRole | Overloaded. | |
| AddUserToRoleById | Overloaded. | |
| AddUserToRoles | Overloaded. | |
| AddUserToRolesById | Overloaded. | |
| CreateRole | Overloaded. | |
| CreateSharedRole |
Adds a new role to the repository.
| |
| DeleteRole | Overloaded. | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FindPermissionSetByName |
Gets a permission set list for the selected permission name and for the application
| |
| FindRolesByName | Gets a roles for the application. | |
| FindSharedRolesByName | Gets a shared roles for the application. | |
| FindUsersInRole | Gets a list of users in a specified role where the user name contains the specified user name to match. | |
| FindUsersInRoleById | Gets a list of users in a specified role where the user name contains the specified user name to match. | |
| GetAllPermissionSets | Obsolete. Gets a list of the permission set fro the application. | |
| GetAllRoles | Gets a list of all the roles for the application. | |
| GetAllRolesAsCollection | Overloaded. | |
| GetAllSharedRolesAsCollection | Overloaded. | |
| GetAllSpecialRolesAsCollection | Gets a VGRoleCollection object representing the list of all speciale roles for the application. | |
| GetDefaultRole | ||
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetMembershipRole | ||
| GetPermissionSet | Overloaded. | |
| GetRole | Overloaded. | |
| GetRolesForUser | Overloaded. | |
| GetRolesForUserById | Overloaded. | |
| GetSharedRole | Overloaded. | |
| GetSpecialRolesCollectionForUserById | Gets a list of speciale roles that a user is in. | |
| GetSpecialRolesForUser | Overloaded. | |
| GetSpecialRolesForUserById | Gets a list of speciale roles that a user is in. | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetUsersInRole | Overloaded. | |
| IsUserInRole | Overloaded. | |
| IsUserInRoleById | Gets a value indicating whether the specified user is in the specified role. | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RemoveUserFromRole | Overloaded. | |
| RemoveUserFromRoleById | Overloaded. | |
| RemoveUserFromRoles | Overloaded. | |
| RemoveUserFromRolesById | Overloaded. | |
| RemoveUsersFromRole | Overloaded. | |
| RemoveUsersFromRoleById | Overloaded. | |
| RemoveUsersFromRoles | Overloaded. | |
| RemoveUsersFromRolesById | Overloaded. | |
| RoleExists | Overloaded. | |
| SharedRoleExists |
Checks whether a shared role exists in the current repository
| |
| ToString | (Inherited from Object.) | |
| UpdateRole |
Updates the repository with the information for the specified role.
|
Fields
| Name | Description | |
|---|---|---|
| DefaultInvalidCharsForRole |
Properties
| Name | Description | |
|---|---|---|
| AnonymousRole |
Gets the name of the role granted to a user during an anonymous session.
| |
| AnonymousRoleId |
Gets the unique identifier of the role granted to a user during an anonymous session.
| |
| ApplicationId |
Gets the Visual Guard unique identifier of the application managed by this instance.
| |
| ApplicationName |
Gets the name of the application managed by this instance.
| |
| DefaultRole |
Gets the name of the default role of the application.
| |
| DefaultRoleId |
Gets the unique identifier of the default role of the application.
|