Click or drag to resize
UserRoleInfoProviderRemoveUserFromRole Method (Int32, Int32)

Note: This API is now obsolete.

Deletes specified userRole.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use DeleteUserRoleInfo(UserRoleInfo) instead.")]
public static void RemoveUserFromRole(
	int userId,
	int roleId
)

Parameters

userId
Type: SystemInt32
UserID
roleId
Type: SystemInt32
RoleID
See Also