02-03-2010 02:39 PM
03-17-2010 11:54 AM
04-03-2010 01:49 AM
//FIND THE GROUPNAME OF THE CURRENT LOGGED ON USER
var currentUserName = person.properties.userName;
var currentPerson = people.getPerson(currentUserName);
var groupNameCurrentUser = people.getContainerGroups(currentPerson);
var currentUsersGroups = people.getContainerGroups(person);
03-01-2017 11:08 AM
Hey
I used the method mentioned in your comment and I'm getting below result.
Current groups::Node Type: {http://www.alfresco.org/model/content/1.0}authorityContainer, Node Aspects: [{http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/system/1.0}localized]
and not showing the group user is in like GROUP_TEST and GROUP_ALFRESCO_ADMINISTRATORS
Tags
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.