indika
May 10th, 1999, 08:54 AM
Is there a way to get the login name of the user that is currently logon to the PC that's running my application.
Thanx
Thanx
|
Click to See Complete Forum and Search --> : Get login user name 95/NT indika May 10th, 1999, 08:54 AM Is there a way to get the login name of the user that is currently logon to the PC that's running my application. Thanx BrianOG May 10th, 1999, 10:13 AM GetUserName() ? indika May 10th, 1999, 10:19 AM Thnak you, I feel stupid.. but thanx. CaoJi May 14th, 1999, 06:48 AM GetUserName() is only retrieve the logon name, and how to get the full name of this account that exists in Primary Domain Control(PDC)? ************************** * Cao Jiling * ************************** Thomas Rizos May 14th, 1999, 08:50 AM // some useful functinos to lookup GetUserName(); // Get Loged on Username NetGetDCName(..); // Get DomainController NetUserGetInfo(...); // Get Additional info(shares/Full name etc..) NetApiBufferFree(...); // use to free the buffer used previously // if you have msdn library these functions referes to the net access functions Happy searching and good luck /Thomas Rizos codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |