Free cookie consent management tool by TermsFeed user() Function
user() Function
This function cannot be used with Custom Record Field Expressions. It can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

user( username, property )

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

Parameters

Keyword Type Description

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

Usage considerations

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
  • uuid

user() cannot be used to define a column of process report data or in a process event.

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

Open in Github Built: Fri, Nov 10, 2023 (03:42:48 PM)

user() Function

FEEDBACK