RoleService.GetRolesForUser Method

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

GetRolesForUser(Int32, Boolean)

Gets the Roles that the User is a member of.

public static IEnumerable GetRolesForUser(int userId, bool filter = true)

Parameters

userId
System.Int32
filter
System.Boolean

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Role}

Returns a list of objects.