public bool HasPermission( Permission permission, Object target, bool skipAdmin )
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: Booleantrue, if the permission exists
See Also