PublicAPI.Services.SecurityServices.HasPermission ELMA API Documentation
Check, that the user has an object instance permission E.g. authorized to "edit document" or "close task".
 
 
Syntax

public bool HasPermission(
	Permission permission,
	Object target,
	bool skipAdmin
)

Parameters

permission
Type: Permission
Permission
target
Type: System Object
Object instance
skipAdmin
Type: System Boolean
skip admin permission check

Return Value

Type: Boolean
true, if the permission exists
See Also