The VGRoleProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| VGRoleProvider |
Initializes a new instance of the VGRoleProvider class.
|
Methods
| Name | Description | |
|---|---|---|
| AddUsersToRoles |
Adds the specified users to the specified roles.
(Overrides RoleProvider..::.AddUsersToRoles(array<String>[]()[], array<String>[]()[]).) | |
| CreateRole |
Adds a new role to the repository.
(Overrides RoleProvider..::.CreateRole(String).) | |
| DeleteRole |
Deletes a role specified by its name from the repository.
(Overrides RoleProvider..::.DeleteRole(String, Boolean).) | |
| 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.) | |
| FindUsersInRole | Gets a list of users in a specified role where the user name contains the specified user name to match. (Overrides RoleProvider..::.FindUsersInRole(String, String).) | |
| GetAllRoles | Gets a list of all the roles for the application. (Overrides RoleProvider..::.GetAllRoles()()().) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetRolesForUser | Gets a list of the roles that a user is in. (Overrides RoleProvider..::.GetRolesForUser(String).) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetUsersInRole | Gets a list of users in the specified role. (Overrides RoleProvider..::.GetUsersInRole(String).) | |
| Initialize |
Initializes the provider.
(Inherited from ProviderBase.) | |
| IsUserInRole | Gets a value indicating whether the specified user is in the specified role. (Overrides RoleProvider..::.IsUserInRole(String, String).) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RemoveUsersFromRoles | Removes the specified user names from the specified roles. (Overrides RoleProvider..::.RemoveUsersFromRoles(array<String>[]()[], array<String>[]()[]).) | |
| RoleExists | Gets a value indicating whether the specified role name already exists in the authorization-manager policy store. (Overrides RoleProvider..::.RoleExists(String).) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ApplicationName |
Gets the name of the application to store and retrieve role information for.
(Overrides RoleProvider..::.ApplicationName.) | |
| Description |
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.) | |
| Name |
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.) |