Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.MembershipProvider
CMSRoleProvider Class
CMSRoleProvider Methods
AddUsersToRoles Method
CreateRole Method
DeleteRole Method
FindUsersInRole Method
GetAllRoles Method
GetRolesForUser Method
GetUsersInRole Method
Initialize Method
IsUserInRole Method
RemoveUsersFromRoles Method
RoleExists Method
CMSRoleProvider Methods
The
CMSRoleProvider
type exposes the following members.
Methods
Protected
Inherited
Name
Description
AddUsersToRoles
Adds user to role.
(Overrides
RoleProvider
AddUsersToRoles(
String
,
String
)
.)
CreateRole
Creates current site role.
(Overrides
RoleProvider
CreateRole(String)
.)
DeleteRole
Deletes specified role.
(Overrides
RoleProvider
DeleteRole(String, Boolean)
.)
FindUsersInRole
Find all user in specified role.
(Overrides
RoleProvider
FindUsersInRole(String, String)
.)
GetAllRoles
Returns all roles.
(Overrides
RoleProvider
GetAllRoles
.)
GetRolesForUser
Returns CMS roles, or Windows roles for specified user.
(Overrides
RoleProvider
GetRolesForUser(String)
.)
GetUsersInRole
Returns all user in specified role.
(Overrides
RoleProvider
GetUsersInRole(String)
.)
Initialize
Initialization.
(Overrides
ProviderBase
Initialize(String, NameValueCollection)
.)
IsUserInRole
Returns true if the user is a member of the role in context of the current site.
(Overrides
RoleProvider
IsUserInRole(String, String)
.)
RemoveUsersFromRoles
Removes user from role.
(Overrides
RoleProvider
RemoveUsersFromRoles(
String
,
String
)
.)
RoleExists
Determines whether specified role exists.
(Overrides
RoleProvider
RoleExists(String)
.)
Top
See Also
Reference
CMSRoleProvider Class
CMS.MembershipProvider Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com