UserRoleInfoProvider.AddUserToRole Method (Int32, Int32, DateTime) |
Adds specified user to the role.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax public static void AddUserToRole(
int userId,
int roleId,
DateTime dt
)
Parameters
- userId
- Type: System.Int32
UserID - roleId
- Type: System.Int32
RoleID - dt
- Type: System.DateTime
Date till user role connection is valid
See Also