A Wordpress user can configure his/her identity (or display name) in the profile. This is stored in the user_identity global variable. It is set in the pluggable functions set_current_user() and get_currentuserinfo() defined in the file [wordpress root folder]/wp-includes/pluggable-functions.php.
It can be used by theme and plugin authors to display the user name. Instead of using combinations of the user’s first name and lastname, use this global variable as it is according to the preference of the user.
Back to full list of global variables.
Technorati tags: user_identity, display name

March 10th, 2006 at 6:34 pm
it should probably read “a wordpress user”
March 10th, 2006 at 6:34 pm
thanks for the info btw
March 10th, 2006 at 7:28 pm
Thanks Sukhi for pointing out the typo, I will correct it immediately.
June 25th, 2006 at 9:02 am
[...] $user_identity [...]
November 24th, 2006 at 2:19 pm
[...] User Data: wp_roles, user_pass_md5, user_url, user_login, user_level, user_identity, user_email, user_ID, current_user, and wpdb [...]
October 23rd, 2007 at 8:15 pm
[...] $user_identity [...]