Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Membership Namespaces
CMS.Membership
UserRoleInfoProvider Class
UserRoleInfoProvider Methods
AddUserToRole Method
AddUserToRole Method (Int32, Int32)
AddUserToRole Method (UserInfo, RoleInfo)
AddUserToRole Method (Int32, Int32, DateTime)
AddUserToRole Method (UserInfo, RoleInfo, DateTime)
UserRoleInfoProvider
AddUserToRole Method (UserInfo, RoleInfo)
Adds specified user to the site.
Namespace:
CMS.Membership
Assembly:
CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
Copy
public
static
void
AddUserToRole
(
UserInfo
ui
,
RoleInfo
ri
)
Parameters
ui
Type:
CMS.Membership
UserInfo
UserInfo
ri
Type:
CMS.Membership
RoleInfo
RoleInfo
See Also
Reference
UserRoleInfoProvider Class
AddUserToRole Overload
CMS.Membership Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com