RoleService.RemoveMember Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

RemoveMember(int, int?)

Removes a User from the specified Role.

public static User RemoveMember(int roleId, int? userId = default(int? ))

Parameters

roleId
int

Id of the Role.

userId
int?

Id of the User, null for the current user.

Returns