首页 > 代码库 > 获取当前系统用户

获取当前系统用户

BOOL bAdminPrivilege   =   FALSE; TCHAR strUserName[80+1];DWORD nUserNameLength = 80;GetUserName(strUserName,&nUserNameLength);AfxMessageBox(strUserName);