Click or drag to resize
CMSRoleProvider Class
Class providing role management.
Inheritance Hierarchy
System.Object
  System.Configuration.Provider.ProviderBase
    System.Web.Security.RoleProvider
      CMS.MembershipProvider.CMSRoleProvider

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

The CMSRoleProvider type exposes the following members.

Constructors
  NameDescription
Public methodCMSRoleProvider
Top
Properties
  NameDescription
Public propertyApplicationName
Application name.
(Overrides RoleProvider.ApplicationName.)
Public propertyDescription
Description.
(Overrides ProviderBase.Description.)
Public propertyName
Name.
(Overrides ProviderBase.Name.)
Top
Methods
  NameDescription
Public methodAddUsersToRoles
Adds user to role.
(Overrides RoleProvider.AddUsersToRoles(String[],String[]).)
Public methodCreateRole
Creates current site role.
(Overrides RoleProvider.CreateRole(String).)
Public methodDeleteRole
Deletes specified role.
(Overrides RoleProvider.DeleteRole(String, Boolean).)
Public methodFindUsersInRole
Find all user in specified role.
(Overrides RoleProvider.FindUsersInRole(String, String).)
Public methodGetAllRoles
Returns all roles.
(Overrides RoleProvider.GetAllRoles().)
Public methodGetRolesForUser
Returns CMS roles, or Windows roles for specified user.
(Overrides RoleProvider.GetRolesForUser(String).)
Public methodGetUsersInRole
Returns all user in specified role.
(Overrides RoleProvider.GetUsersInRole(String).)
Public methodInitialize
Initialization.
(Overrides ProviderBase.Initialize(String, NameValueCollection).)
Public methodIsUserInRole
Returns true if the user is a member of the role in context of the current site.
(Overrides RoleProvider.IsUserInRole(String, String).)
Public methodRemoveUsersFromRoles
Removes user from role.
(Overrides RoleProvider.RemoveUsersFromRoles(String[],String[]).)
Public methodRoleExists
Determines whether specified role exists.
(Overrides RoleProvider.RoleExists(String).)
Top
See Also