UserRoleInfoProviderAddUserToRole Method (Int32, Int32, DateTime) |
Adds specified user to the role.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntaxpublic 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