getUserValue

Retrieves the value of a user metadata field for the current user.

The parameter must refer to a column in the Users database table. Unlike the user personalization functions that have no support for global reference, information assigned to the user in the Users table can be available to the Content Server.

Type and Usage

Parameters

The only parameter is a user-related variable.

Output

  • Returns the value of the metadata field for the current user.

  • Evaluates to TRUE if the user value was retrieved.

  • Evaluates to FALSE if an error in retrieval occurred.

  • Returns a StatusCode of -1 if the value is unspecified or unknown.

Example

Returns the User Type of the currently logged on user:

<$getUserValue('dUserType')$>