Click or drag to resize
KenticoUserStoreTUserRemoveFromRoleAsync Method (TUser, String)
Removes user from Role.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task RemoveFromRoleAsync(
	TUser user,
	string roleName
)

Parameters

user
Type: TUser
User entity.
roleName
Type: SystemString
Role name.

Return Value

Type: Task

Implements

IUserRoleStore.RemoveFromRoleAsync(UTP, String)
See Also