Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com