The VGRoleProvider type exposes the following members.

Methods

  NameDescription
Public methodAddUsersToRoles
Adds the specified users to the specified roles.
(Overrides RoleProvider..::..AddUsersToRoles(array<String>[]()[][], array<String>[]()[][]).)
Public methodCreateRole
Adds a new role to the repository.
(Overrides RoleProvider..::..CreateRole(String).)
Public methodDeleteRole
Deletes a role specified by its name from the repository.
(Overrides RoleProvider..::..DeleteRole(String, Boolean).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindUsersInRole
Gets a list of users in a specified role where the user name contains the specified user name to match.
(Overrides RoleProvider..::..FindUsersInRole(String, String).)
Public methodGetAllRoles
Gets a list of all the roles for the application.
(Overrides RoleProvider..::..GetAllRoles()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRolesForUser
Gets a list of the roles that a user is in.
(Overrides RoleProvider..::..GetRolesForUser(String).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsersInRole
Gets a list of users in the specified role.
(Overrides RoleProvider..::..GetUsersInRole(String).)
Public methodInitialize
Initializes the provider.
(Inherited from ProviderBase.)
Public methodIsUserInRole
Gets a value indicating whether the specified user is in the specified role.
(Overrides RoleProvider..::..IsUserInRole(String, String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveUsersFromRoles
Removes the specified user names from the specified roles.
(Overrides RoleProvider..::..RemoveUsersFromRoles(array<String>[]()[][], array<String>[]()[][]).)
Public methodRoleExists
Gets a value indicating whether the specified role name already exists in the authorization-manager policy store.
(Overrides RoleProvider..::..RoleExists(String).)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also