RoleRepo.RemoveUserFromRole Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

RemoveUserFromRole(int, int)

Removes a User from the specified Role.

public static void RemoveUserFromRole(int userId, int roleId)

Parameters

userId
int

Id of the User.

roleId
int

Id of the Role.