RoleProvider Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Web.Security
Assembly:  System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)

NameDescription
System_CAPS_pubmethodAddUsersToRoles(String[], String[])

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

System_CAPS_pubmethodCreateRole(String)

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

System_CAPS_pubmethodDeleteRole(String, Boolean)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindUsersInRole(String, String)

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

System_CAPS_pubmethodGetAllRoles()

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetRolesForUser(String)

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUsersInRole(String)

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

System_CAPS_pubmethodInitialize(String, NameValueCollection)

Initializes the configuration builder.(Inherited from ProviderBase.)

System_CAPS_pubmethodIsUserInRole(String, String)

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

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemoveUsersFromRoles(String[], String[])

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

System_CAPS_pubmethodRoleExists(String)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: