Click or drag to resize
UserInfoProviderRemoveUserFromRole Method (String, String, String)
Removes specified user from the role.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static void RemoveUserFromRole(
	string userName,
	string roleName,
	string siteName
)

Parameters

userName
Type: SystemString
User name to remove
roleName
Type: SystemString
Role name
siteName
Type: SystemString
Site name
See Also