userAttribute userAttrRef addEnumValues

Available for: Content Management Server

Task: Adds the specified enumeration values to an enum or multienum user field if they do not exist already.

Syntax:

userAttribute withName attrName addEnumValues {enumValue}

Function parameters:

  • enumValue: indicates the enumeration value to be added to the existing enumeration values of the user field.

Return value if successful: none

Necessary permissions: The user must have the permissionGlobalUserEdit permission.

Example:

CM>userAttribute withName department addEnumValues \
administration development marketing services