03-04-2009 02:03 AM
03-04-2009 06:12 AM
03-04-2009 12:11 PM
var groupNode = people.getGroup("GROUP_" + name_of_the_group_the_user_must_belong_to);
if (groupNode == null) {
groupNode = people.createGroup(name_of_the_group_the_user_must_belong_to);
groupNode.save();
}
// 'person' is injected in the script by Alfresco.
people.addAuthority(groupNode, person);
var folderNode = companyhome.childByNamePath(path_to_user_folder);
folderNode.setPermission("Contributor", groupNode);
09-24-2009 02:48 AM
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.