3.1.5 OracleRoleProvider Public Methods

The OracleRoleProvider public methods are listed in Table 3-7.

Table 3-7 OracleRoleProvider Public Methods

Public Method Description

AddUsersToRoles

Adds the specified users to the specified roles

CreateRole

Adds a new role to the database

DeleteRole

Deletes a role in the database

Equals

Inherited from System.Object (Overloaded)

FindUsersInRole

Returns an array of user names that match the specified user name

GetAllRoles

Returns an array of all the roles for an application

Get Hash Code

Inherited from System.Object

GetRolesForUser

Returns an array of role names for the specified user

Getup

Inherited from System.Object

GetUsersInRole

Returns an array of users in the specified role name

Initialize

Initializes OracleRoleProvider with the property values specified in the ASP.NET application configuration file

IsUserInRole

Indicates whether the specified user is in the specified role

RemoveUsersFromRoles

Removes the specified array of users from the specified array of role names

RoleExists

Indicates whether the specified role name exists in the database

ToString

Inherited from System.Object