Check if the logged in user has the privileges to access the entity for the given action
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
public static bool CheckPermissionForEntity(
BaseEntity entity,
EntityAction action
)
public static bool CheckPermissionForEntity(
BaseEntity entity,
EntityAction action
)
Public Shared Function CheckPermissionForEntity (
entity As BaseEntity,
action As EntityAction
) As Boolean
Public Shared Function CheckPermissionForEntity (
entity As BaseEntity,
action As EntityAction
) As Boolean
static member CheckPermissionForEntity :
entity : BaseEntity *
action : EntityAction -> bool
static member CheckPermissionForEntity :
entity : BaseEntity *
action : EntityAction -> bool
Parameters
- entity
- Type: BaseEntity
Base Entity
- action
- Type: EntityAction
Entity Action
Return Value
Type:
Booleanreturns True/False