Export (0) Print
Expand All

RoleProvider Methods

The RoleProvider type exposes the following members.

  Name Description
Public method AddUsersToRoles Adds the specified user names to the specified roles for the configured applicationName.
Public method CreateRole Adds a new role to the data source for the configured applicationName.
Public method DeleteRole Removes a role from the data source for the configured applicationName.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindUsersInRole Gets an array of user names in a role where the user name contains the specified user name to match.
Public method GetAllRoles Gets a list of all the roles for the configured applicationName.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetRolesForUser Gets a list of the roles that a specified user is in for the configured applicationName.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUsersInRole Gets a list of users in the specified role for the configured applicationName.
Public method Initialize Initializes the provider. (Inherited from ProviderBase.)
Public method IsUserInRole Gets a value indicating whether the specified user is in the specified role for the configured applicationName.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveUsersFromRoles Removes the specified user names from the specified roles for the configured applicationName.
Public method RoleExists Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft