add_group

Add a Group.

Description

The requested group name is added to the application. The group name must not be empty.

Parameters

action
add_group
group
The name of the group to add.

Example URL

http://<host>:<port>/<context>/web/user.xql?action=add_group&group=<value>

Successful Result

This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.

Failed Result

Accessing this API feature requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available. It is an error if the group name already exists. If SSO is enabled, an error is also generated.