Retrieve permissions of an User inside a script

Hi, Anyone knows how to retrieve the permissions of an user in a document ( inside a script) I try to use currentUser but it can only get the name, username.. and more properties that doesn't help me.

Also I try with the operation hasPermission but nuxeo tells me that it ins't a function. Thanks

0 votes

1 answers

54 views

ANSWER



Solved, finally works with the operation Context.GetUserGroupIdsWithPremissionOnDoc

1 votes