cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve permissions of an User inside a script

iker_nicolas
Champ on-the-rise
Champ on-the-rise

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

1 ACCEPTED ANSWER

iker_nicolas
Champ on-the-rise
Champ on-the-rise

Solved, finally works with the operation Context.GetUserGroupIdsWithPremissionOnDoc

View answer in original post

1 REPLY 1

iker_nicolas
Champ on-the-rise
Champ on-the-rise

Solved, finally works with the operation Context.GetUserGroupIdsWithPremissionOnDoc

Getting started

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.