Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "real" network name 1

Status
Not open for further replies.

NormHenderson

Technical User
Feb 3, 2006
2
GB
I'm trying to find a method of displaying the current user's "real" name. All the methods I've used to display a username only show what the user types in when they log in (eg nhenderson) but I need to display their real name (eg Norm Henderson), which is linked to their username presumably. Unfortunately I'm not au fait with Windows networking so I'm not sure how it works.

I haven't got my code in front of me so I can't post what I do have, but I should be able to later on.

Ta.
 
NetUserGetInfo with information level = 10 (or up).

buho (A).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top