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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get the users Fullname?

Status
Not open for further replies.

hdougl1

Programmer
Dec 6, 2000
54
US
I need to get the users full name not just the log in name. I've used the API call "GetUserName" and it just returns the user ID and not the full name. If you type set at the dos prompt I can see one of the environment variables called FULLNAME=JOHNDOE. Do I have to pipe this into a text file and parse it out - aru, or is there another API call to retrieve the users full name.
Thanks in advance
 
Hi,
Can you email me code for using the "GetUserName" API call?
I'm starting to get involved with this sort of exercise and I need some help
 
faq222-429 shows how to use the GetUserName function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top