Click or drag to resize
CMSADRoleProvider Class
Active directory role provider.
Inheritance Hierarchy

Namespace: CMS.MembershipProvider
Assembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 10.0.0
Syntax
C#
public class CMSADRoleProvider : RoleProvider

The CMSADRoleProvider type exposes the following members.

Constructors
  NameDescription
Public methodCMSADRoleProvider
Top
Properties
  NameDescription
Public propertyApplicationName
Application name.
(Overrides RoleProviderApplicationName.)
Public propertyDescription
Description.
(Overrides ProviderBaseDescription.)
Public propertyName
Name.
(Overrides ProviderBaseName.)
Public propertyRoleImportFormat
Format of imported roles. This applies for both display name and code name.
Public propertyRoleNameImporter
Import user Ad role according to CMSRoleImportFormat.
Top
Methods
  NameDescription
Public methodAddUsersToRoles
Adds user to role.
(Overrides RoleProviderAddUsersToRoles(String, String).)
Public methodCreateRole
Creates role.
(Overrides RoleProviderCreateRole(String).)
Public methodDeleteRole
Deletes specified role.
(Overrides RoleProviderDeleteRole(String, Boolean).)
Public methodFindUsersInRole
Find all user in specified role.
(Overrides RoleProviderFindUsersInRole(String, String).)
Public methodGetAllRoles
Returns all roles.
(Overrides RoleProviderGetAllRoles.)
Public methodGetRolesForUser
Get roles for specified user
(Overrides RoleProviderGetRolesForUser(String).)
Public methodGetRolesForUserInDefaultFormat
Gets the roles for specified user.
Public methodGetRolesForUserInDomainSamFormat
Get roles for specified user in NetbiosDomainName\SamAccountName format.
Public methodGetRolesForUserInSamFormat
Get roles for specified user in SamAccountName format.
Public methodGetUsersInRole
Returns all user in specified role.
(Overrides RoleProviderGetUsersInRole(String).)
Public methodInitialize
Initializes the provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection).)
Public methodIsUserInRole
Returns true if the user is in specific role.
(Overrides RoleProviderIsUserInRole(String, String).)
Public methodRemoveUsersFromRoles
Removes user from role.
(Overrides RoleProviderRemoveUsersFromRoles(String, String).)
Public methodRoleExists
Determines whether specified role exists.
(Overrides RoleProviderRoleExists(String).)
Top
See Also