Finds out what rights the given user has to this object.
public getPermissions ( mixed $permission, string $user, string $creator = null ) : mixed | ||
$permission | mixed | The full permission name of the object to check the permissions of, or the Horde_Permissions object. |
$user | string | The user to check for. |
$creator | string | The user who created the event. |
return | mixed | A bitmask of permissions the user has, false if there are none. |