Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link 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
Today is November 21, 2024, 6:53 am This article has been viewed 35177 times.
|
|