Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Security API > Methods

Security API: getDisplayName

Scroll Prev Next More

 

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:

Security API: setDisplayName

About Security API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software