IUserRoleInfoProviderAdd Method |
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax void Add(
int userId,
int roleId,
Nullable<DateTime> validTo = null
)
Parameters
- userId
- Type: SystemInt32
User ID. - roleId
- Type: SystemInt32
Role ID. - validTo (Optional)
- Type: SystemNullableDateTime
Date till user role connection is valid, or null.
See Also