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:

dynamic userData = Security.getDisplayName();
MVCFunctions.Echo(userData);

Sample output

admin_user

See also:

Security API: setDisplayName

About Security API