You are here

getGroup

getGroup(groupName) returns the group corresponding to the specified group name.

Parameters

groupName
A string representing the name of the group to be returned.

Returns

Returns a TemplateNode object representing the group whose group name was specified.

Example


<#assign myGroup = people.getGroup("GROUP_ALFRESCO_ADMINISTRATORS")>
<p>id: ${myGroup.id}</p>
<p>name: ${myGroup.name}</p>
<p>type: ${myGroup.type}</p>
        
      

The preceding code snippet would produce output similar to the following:

id: GROUP_ALFRESCO_ADMINISTRATORS

name: GROUP_ALFRESCO_ADMINISTRATORS

type: {http://www.alfresco.org/model/content/1.0}authorityContainer      
      

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.