CMSADRoleProvider Class |
Namespace: CMS.MembershipProvider
public class CMSADRoleProvider : RoleProvider
The CMSADRoleProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSADRoleProvider |
Name | Description | |
---|---|---|
ApplicationName |
Application name.
(Overrides RoleProviderApplicationName.) | |
Description |
Description.
(Overrides ProviderBaseDescription.) | |
Name |
Name.
(Overrides ProviderBaseName.) | |
RoleImportFormat |
Format of imported roles. This applies for both display name and code name.
| |
RoleNameImporter |
Import user Ad role according to CMSRoleImportFormat.
|
Name | Description | |
---|---|---|
AddUsersToRoles |
Adds user to role.
(Overrides RoleProviderAddUsersToRoles(String, String).) | |
CreateRole |
Creates role.
(Overrides RoleProviderCreateRole(String).) | |
DeleteRole |
Deletes specified role.
(Overrides RoleProviderDeleteRole(String, Boolean).) | |
FindUsersInRole |
Find all user in specified role.
(Overrides RoleProviderFindUsersInRole(String, String).) | |
GetAllRoles |
Returns all roles.
(Overrides RoleProviderGetAllRoles.) | |
GetRolesForUser |
Get roles for specified user
(Overrides RoleProviderGetRolesForUser(String).) | |
GetRolesForUserInDefaultFormat |
Gets the roles for specified user.
| |
GetRolesForUserInDomainSamFormat |
Get roles for specified user in NetbiosDomainName\SamAccountName format.
| |
GetRolesForUserInSamFormat |
Get roles for specified user in SamAccountName format.
| |
GetUsersInRole |
Returns all user in specified role.
(Overrides RoleProviderGetUsersInRole(String).) | |
Initialize |
Initializes the provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection).) | |
IsUserInRole |
Returns true if the user is in specific role.
(Overrides RoleProviderIsUserInRole(String, String).) | |
RemoveUsersFromRoles |
Removes user from role.
(Overrides RoleProviderRemoveUsersFromRoles(String, String).) | |
RoleExists |
Determines whether specified role exists.
(Overrides RoleProviderRoleExists(String).) |