As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var member = false; var testedGroup = groups.getGroup("nameOfGroup"); var memberlist = testedGroup.getAllUsers(); for (var i in memberlist) { var name1=memberlist[i].getFullName(); var name2=person.properties.userName; if (name1 == name2) { member=true; } }
Array getContainerGroups(ScriptNode person) Gets the groups that contain the specified authority.