UserRoleInfoProviderAddUserToRole Method (Int32, Int32) |
Adds specified user to the site.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax public static void AddUserToRole(
int userId,
int roleId
)
Parameters
- userId
- Type: SystemInt32
UserID - roleId
- Type: SystemInt32
RoleID
See Also