|
-
May 10th, 1999, 08:54 AM
#1
Get login user name 95/NT
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
-
May 10th, 1999, 10:13 AM
#2
Re: Get login user name 95/NT
-
May 10th, 1999, 10:19 AM
#3
Re: Get login user name 95/NT
Thnak you,
I feel stupid.. but thanx.
-
May 14th, 1999, 06:48 AM
#4
Re: Get full name of this login name from PDC (95/NT)
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 *
**************************
-
May 14th, 1999, 08:50 AM
#5
Re: Get login user name 95/NT
// 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|