Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Sample events > Appearance

Change the 'Logged on as' message

Scroll Prev Next More

 

The "Logged on as" message can be changed in the AfterSuccessfulLogin event. Here is how you can display user's full name instead of username:

 

 

 

XSession.Session["UserName"] = data["FirstName"].ToString() + " " + data["LastName"].ToString();

See also:

Save user data in session variables

About Security API

Security API: setDisplayName

Security screen

Grid Row JavaScript API: row.setMessage()