Показать сообщение отдельно
Старый 05.08.2008, 17:44   #2  
Alex_KD is offline
Alex_KD
Участник
AxAssist
MCBMSS
Соотечественники
 
522 / 362 (14) ++++++
Регистрация: 06.07.2006
Адрес: Melbourne, Down Under
вот пример:
http://www.codersource.net/win32_user_name.html

Цитата:
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, LPDWORD nSize);
__________________
AxAssist 2012 - Productivity Tool for Dynamics AX 2012/2009/4.0/3.0