add_to_group()
Usage
add_to_group(group, principal)
Description
Adds the given user as a member of the given group.
Example
${add_to_group(first(find('Group', 'name', 'Admins')), me)}
You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.
Usage
add_to_group(group, principal)
Description
Adds the given user as a member of the given group.
Example
${add_to_group(first(find('Group', 'name', 'Admins')), me)}
Adds the given user as a member of the given group.
add_to_group(group, principal)