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