Reference > Expressions > Built-in Functions > Default User Functions > DefaultUserName

DefaultUserName

Returns the default user name for the user associated with the current session.

Syntax

DefaultUserName()

Enabled for

Search/Dashboard No
Business Rules No
Quick Actions Yes
Workflow Objects No
Reports No

Parameters

none  

Return Value

Text value.

Example

$(DefaultUserName())

If the current user is Joe Smith and his user name is JSmith, this example returns JSmith.