` 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 May 9, 2024, 2:23 pm
This article has been viewed/printed 35109 times.