The WindowsRoleProvider type exposes the following members.

Constructors

  NameDescription
WindowsRoleProvider
Initializes a new instance of the WindowsRoleProvider class

Methods

  NameDescription
AddUsersToRoles
Not supported by this provider. Adds the specified user names to the specified roles for the configured applicationName.
(Overrides RoleProvider..::.AddUsersToRoles(array<String>[]()[], array<String>[]()[]).)
CreateRole
Adds a new role to the data source for the configured applicationName.
(Overrides RoleProvider..::.CreateRole(String).)
DeleteRole
Removes a role from the data source for the configured applicationName.
(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 attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindUsersInRole
Gets an array of user names in a 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 configured applicationName.
(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 specified user is in for the configured applicationName.
(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 for the configured applicationName.
(Overrides RoleProvider..::.GetUsersInRole(String).)
Initialize
Initializes the provider.
(Overrides ProviderBase..::.Initialize(String, NameValueCollection).)
IsUserInRole
Gets a value indicating whether the specified user is in the specified role for the configured applicationName.
(Overrides RoleProvider..::.IsUserInRole(String, String).)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveUsersFromRoles
Not supported by this provider. Removes the specified user names from the specified roles for the configured applicationName.
(Overrides RoleProvider..::.RemoveUsersFromRoles(array<String>[]()[], array<String>[]()[]).)
RoleExists
Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.
(Overrides RoleProvider..::.RoleExists(String).)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
ApplicationName
Gets or sets 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.)

See Also