folder.permissions
"ALLOWED;test1;Collaborator,ALLOWED;test2;Collaborator,ALLOWED;GROUP_EVERYONE;Consumer"
siteService.listSiteRoles()
% siteService.listSiteRoles()[0]
SiteManager
% siteService.listSiteRoles()[1]
SiteCollaborator
% siteService.listSiteRoles()[2]
SiteContributor
% siteService.listSiteRoles()[3]
SiteConsumer
String[] getPermissions()
Returns a String[] of the permissions attached to a node. Strings returned are of the format [ALLOWED|DENIED];[USERNAME|GROUPNAME];PERMISSION for example ALLOWED;kevinr;Consumer so can be easily tokenized on the ';' character.
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.