This documentation is archived and is not being maintained.
AuthorizationStoreRoleProvider Methods
Visual Studio 2008
The AuthorizationStoreRoleProvider type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddUsersToRoles | Adds the specified user names to each of the specified roles. (Overrides RoleProvider.AddUsersToRoles(String[], String[]).) |
|
CreateRole | Adds a new role to the role authorization-manager policy store. (Overrides RoleProvider.CreateRole(String).) |
|
DeleteRole | Removes a role from the authorization-manager policy store. (Overrides RoleProvider.DeleteRole(String, Boolean).) |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FindUsersInRole | This method is not supported by the authorization store role provider. (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 authorization-manager role provider with the property values specified in the ASP.NET application's configuration file. This method is not intended to be used directly from your code. (Overrides ProviderBase.Initialize(String, NameValueCollection).) |
|
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(String[], String[]).) |
|
RoleExists | Gets a value indicating whether the specified role name already exists in the authorization-manager policy store. (Overrides RoleProvider.RoleExists(String).) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: