UserRoleInfoProvider
AddUserToRole Method (Int32, Int32)
Kentico 8.0 API Reference
Adds specified user to the site.
Namespace:
CMS.Membership
Assembly:
CMS.Membership
(in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
userId
Type:
System
Int32
UserID
roleId
Type:
System
Int32
RoleID
See Also
UserRoleInfoProvider Class
UserRoleInfoProvider Members
AddUserToRole Overload
CMS.Membership Namespace