userAttribute create

Available for: Content Management Server

Task: The command creates a new custom user field.

Syntax:

userAttribute create {parameter value}

Function parameters:

  • parameter is the name of a parameter whose value is set to value when the field is created. At least the name of the field must be specified.
  • value is the value to be set for the parameter.

Return value if successful: the name of the user field (string)

Necessary permissions: The user must have the permissionGlobalUserEdit permission.

Example:

CM>userAttribute create name address
address