I was wondering if PHP Automation Client allows ACL requests or not?
I need to know all the users with Write Permission on a document and I used following code but no joy!
<?php
$x="";
$id = "8f488a16-7683-465e-9cce-03016f818622"; //ID of the object
$answer = $session->newRequest('Document.GetUsersAndGroups')
->set('input', "doc:id")
->set('params', 'permission', 'Write')
->set('params', 'variable name', $x)
->sendRequest();
print_r($answer); //object returned
print_r($x); //nothing is returned
?>
Can anyone please help?