userAttribute userAttrRef description

Available for: Content Management Server

Task: Returns a string representation of the data from the user field with the specified name.

Additional information: the representation is formatted in the property list format of a dictionary (see The property list format).

Syntax:

userAttribute withName attrName description

Function parameters: none

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

Necessary permissions: no restrictions

Example:

CM>userAttribute withName department description
{
  name = department;
  type = multienum;
  values = (
    administration,
    development,
    marketing,
    services
  );
}