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.
$str = "user_name" ;
Security::setDisplayName($str);
See also: