group create

Available for: Content Management Server

Task: Creates a new user group with the specified parameter values.

Additional information:

  • When a group is created, the owner is set to the logged-in user if owner is not specified as a parameter when create is called.
  • The name of a group cannot be changed after creation.

Syntax:

group create {parameter value}

Function parameters:

  • parameter specifies the name of the group parameter whose value is to be set during creation of the group. The name parameter must be specified.
  • value is the value of the parameter to be set.

Return value if successful: the name of the new group (string)

Necessary permissions: The user must have the permissionGlobalUserEdit permission.

Example:

CM>group create name editors realName Editors
Editors