UserRoleInfoProviderAddUserToRole Method (Int32, Int32, DateTime) |
Note: This API is now obsolete.
Namespace: CMS.Membership
[ObsoleteAttribute("Use IUserRoleInfoProvider.Add(int, int, DateTime?) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - UserRoleInfo.Provider.")] public static void AddUserToRole( int userId, int roleId, DateTime dt )