Kentico 9.0 API Reference
Kentico 9.0 API Reference
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: 9.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) 2015 Kentico Software
Send comments on this topic to
support@kentico.com