user() Function

Returns selected properties from a user's profile and preferences.

Syntax

user( username, property )

Notes

username: (Text) The username or user object of the user whose information should be retrieved.

property: (Text) The information to retrieve for this user.

Returns

Text

Notes

The property value accepts the following (case-sensitive) values:

  • displayName (the user's nickname)
  • email
  • firstName
  • lastName
  • middleName
  • status
  • address1
  • address2
  • address3
  • city
  • country
  • created
  • phoneHome
  • phoneMobile
  • phoneOffice
  • province
  • state
  • supervisorName
  • titleId
  • titleName
  • username
  • userTypeId
  • userTypeName
  • zipCode
  • locale

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

user("mike.smith","created") returns 12/20/05 10:36 PM GMT

17.1

On This Page

FEEDBACK