Returns the current Display Name.
Syntax
Security::getDisplayName()
Arguments
No arguments.
Return value
Returns the current Display Name.
Example
This example shows how to output the current user data:
$userData = Security::getDisplayName();
echo $userData;
Sample output
admin_user
See also: