System.Web.Security.RoleProvider: Method Members

The methods of System.Web.Security.RoleProvider are listed below. For a list of all members, see the RoleProvider Members list.

See Also: Inherited members from System.Configuration.Provider.ProviderBase

Public Methods

abstract
AddUsersToRoles(string[], string[])

Adds the specified user names to the specified roles for the configured applicationName.

abstract
CreateRole(string)

Adds a new role to the data source for the configured applicationName.

abstract
DeleteRole(string, bool) : bool

Removes a role from the data source for the configured applicationName.

abstract
FindUsersInRole(string, string) : string[]

Gets an array of user names in a role where the user name contains the specified user name to match.

abstract
GetAllRoles() : string[]

Gets a list of all the roles for the configured applicationName.

abstract
GetRolesForUser(string) : string[]

Gets a list of the roles that a specified user is in for the configured applicationName.

abstract
GetUsersInRole(string) : string[]

Gets a list of users in the specified role for the configured applicationName.

abstract
IsUserInRole(string, string) : bool

Gets a value indicating whether the specified user is in the specified role for the configured applicationName.

abstract
RemoveUsersFromRoles(string[], string[])

Removes the specified user names from the specified roles for the configured applicationName.

abstract
RoleExists(string) : bool

Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.