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

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

The CMSADRoleProvider type exposes the following members.

Constructors
  NameDescription
Public methodCMSADRoleProvider
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
See Also