System.Web.Security.SqlRoleProvider: Method Members

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

See Also: Inherited members from System.Web.Security.RoleProvider

Public Methods

override
AddUsersToRoles(string[], string[])

Adds the specified user names to each of the specified roles.

override
CreateRole(string)

Adds a new role to the role database.

override
DeleteRole(string, bool) : bool

Removes a role from the role database.

override
FindUsersInRole(string, string) : string[]

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

override
GetAllRoles() : string[]

Gets a list of all the roles for the application.

override
GetRolesForUser(string) : string[]

Gets a list of the roles that a user is in.

override
GetUsersInRole(string) : string[]

Gets a list of users in the specified role.

override
Initialize(string, System.Collections.Specialized.NameValueCollection)

Initializes the SQL Server 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.

override
IsUserInRole(string, string) : bool

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

override
RemoveUsersFromRoles(string[], string[])

Removes the specified user names from the specified roles.

override
RoleExists(string) : bool

Gets a value indicating whether the specified role name already exists in the role database.