PermissionService.HasPermission Method

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

HasPermission(IEntity, Permission, User)

Check if the specified user has the requested permission to the specified entity.

public static bool HasPermission(IEntity entity, Permission requested, User user = null)

Parameters

entity
IEntity
requested
Permission
user
User

Returns

System.Boolean