System.Web.Security.SqlRoleProvider Members

The members of System.Web.Security.SqlRoleProvider are listed below.

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

Public Constructors

Creates an instance of the System.Web.Security.SqlRoleProvider class.

Public Properties

override
ApplicationNamestring.

Gets or sets the name of the application for which to store and retrieve role information.

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.