NetUserGetInfo
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
hey guys, I am trying to retrieve the password of a specific user with the NetUserGetInfo function. But the MSDN says the following regarding the function: -------------------- from msdn: link: http://msdn.microsoft.com/library/d..._info_4_str.asp The NetUserEnum and NetUserGetInfo functions return a NULL pointer to maintain password security. -------------------- my code:
USES_CONVERSION; wchar_t *pswzUser = T2W("A"); DWORD dwLevel = 4; USER_INFO_3 pUi; nStatus = NetUserGetInfo(NULL, pswzUser, dwLevel, (LPBYTE*)&pUi); return W2T(pUi.usri3_password);
So how can I retrieve the password ??? da sonu :cool: