toString (DirectoryUser - JavaScript)

Gets a string representation of the user entry.

Syntax

toString() : string
Return value Description
string The string representation.

Example

This computed field displays a string representation of the directory entry for the current user.
return context.getUser().toString()