SqlRoleProvider Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddUsersToRoles |
Overridden.
Adds the specified user names to each of the specified roles.
|
| CreateRole |
Overridden.
Adds a new role to the role database.
|
| DeleteRole |
Overridden.
Removes a role from the role database.
|
| Equals |
Overloaded.
Determines whether two Object instances are equal.
(inherited from
Object)
|
| FindUsersInRole |
Overridden.
Gets an array of user names in a role where the user name contains the specified user name to match.
|
| GetAllRoles |
Overridden.
Gets a list of all the roles for the application.
|
| GetHashCode |
Serves as a hash function for a particular type.
(inherited from
Object)
|
| GetRolesForUser |
Overridden.
Gets a list of the roles that a user is in.
|
| GetType |
Gets the Type of the current instance.
(inherited from
Object)
|
| GetUsersInRole |
Overridden.
Gets a list of users in the specified role.
|
| Initialize |
Overridden.
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.
|
| IsUserInRole |
Overridden.
Gets a value indicating whether the specified user is in the specified role.
|
| ReferenceEquals |
Determines whether the specified Object instances are the same instance.
(inherited from
Object)
|
| RemoveUsersFromRoles |
Overridden.
Removes the specified user names from the specified roles.
|
| RoleExists |
Overridden.
Gets a value indicating whether the specified role name already exists in the role database.
|
| ToString |
Returns a String that represents the current Object.
(inherited from
Object)
|
| Name | Description | |
|---|---|---|
| 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)
|
| MemberwiseClone |
Creates a shallow copy of the current Object.
(inherited from
Object)
|
Reference
SqlRoleProvider ClassSystem.Web.Security Namespace
Other Resources
Understanding Role ManagementCommunity Additions
ADD
Show: