PermissionService.GetPermissions Method

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

GetPermissions(IEntity, User)

Get a user's permissions for an entity.

public static ICollection GetPermissions(IEntity entity, User user = null)

Parameters

entity
IEntity
user
User

Returns

System.Collections.Generic.ICollection{Weavy.Core.Models.Permission}

Returns the list of permissions for the user and entity.