Click or drag to resize
UserRoleInfoProviderRemoveUserFromRole Method (UserInfo, RoleInfo)

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(
	UserInfo ui,
	RoleInfo ri
)

Parameters

ui
Type: CMS.MembershipUserInfo
UserInfo
ri
Type: CMS.MembershipRoleInfo
RoleInfo
See Also