Click or drag to resize
CMSRoleProvider Class
Class providing role management.
Inheritance Hierarchy

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

The CMSRoleProvider type exposes the following members.

Constructors
  NameDescription
Public methodCMSRoleProvider
Top
Properties
Methods
  NameDescription
Public methodAddUsersToRoles
Adds user to role.
(Overrides RoleProviderAddUsersToRoles(String, String).)
Public methodCreateRole
Creates current site 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
Returns CMS roles, or Windows roles for specified user.
(Overrides RoleProviderGetRolesForUser(String).)
Public methodGetUsersInRole
Returns all user in specified role.
(Overrides RoleProviderGetUsersInRole(String).)
Public methodInitialize
Initialization.
(Overrides ProviderBaseInitialize(String, NameValueCollection).)
Public methodIsUserInRole
Returns true if the user is a member of the role in context of the current site.
(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