` 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 November 23, 2024, 5:12 pm
This article has been viewed/printed 35180 times.