CMSADRoleProvider Class |
Namespace: CMS.MembershipProvider
public class CMSADRoleProvider : RoleProvider
The CMSADRoleProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSADRoleProvider |
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).) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
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.
|