Click or drag to resize
UserRoleInfoProviderDeleteUserRoleInfo Method (UserInfo, RoleInfo)
Deletes specified userRole.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static void DeleteUserRoleInfo(
	UserInfo userInfo,
	RoleInfo roleInfo
)

Parameters

userInfo
Type: CMS.MembershipUserInfo
User which will be removed from role
roleInfo
Type: CMS.MembershipRoleInfo
Role from which will be the user removed
See Also