04-05-2016 09:30 AM
I would like to obtain the users and groups having the manage rights on a document.
I call Document.GetUsersAndGroups (v6.0, seems it has been renamed since) that holds a "variable name" param that is supposed to set the so called context variable. How can I get this variable back to the client through the REST API ?
REST calls do hold a "context" variable, but it seems it is supposed to set some context variables not to retrieve them.
04-06-2016 04:28 AM
I did not manage to solve the context part of the request nevertheless there is another way for my specific needs : context enrichers.
For instance, I need to have the children of a document with their ACLs :
/site/automation/Document.GetChildren
X-NXContext-Category: acls
returns with each entry the context parameters
"contextParameters": {
"acls": [
{
"name": "local",
"ace": [
{
"username": "ubx:SGBm:Chantier catalogue",
"permission": "ReadWrite",
"granted": true
...
It also works with straght REST calls such as
/api/v1/id/1f9e3219-d901-4efb-9111-d5d479016fee
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.