Please enable JavaScript to view this site.

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

Security API: setDisplayName

Scroll Prev Next More

 

Sets the current Display Name.

Syntax

Security.setDisplayName(str)

Arguments

str

the Display name.

Return value

No return value.

Example

Change the current display name. It makes the most sense to use this function in AfterSuccessfuLogin event.

XVar str= "user_name" ;
Security.setDisplayName(str);

See also:

Security API: getDisplayName

About Security API