` Printed Icetips Article

Icetips Article



Par2: Getting user name in NT
1998-08-18 -- Mark Geisinger
 
From MSDN:

GetUserName
The GetUserName function retrieves the user name of the current thread. This
is the name of the user currently logged onto the system. 

BOOL GetUserName(
  LPTSTR lpBuffer,  // address of name buffer
  LPDWORD nSize     // address of size of name buffer
);

You'll find the whole thing at
.



Printed April 27, 2024, 1:20 am
This article has been viewed/printed 35102 times.