How to retrieve the username/password details from Owner applet in WinCE. RRS feed

  • Question

  • - I am trying to get the UserName, Password, and Domain details from Control Panel-> Owner-> NetworkID Tab, With the help of CredRead API. I am able to retrieve the UserName and Domain info but unable to get the Password.
    - Is there any other api to get the Password..?

    WCHAR defTarget[] = L"";
    DWORD defTargetLen = sizeof(defTarget)/sizeof(defTarget[0]);

        dwErr = CredRead(defTarget,
        if(dwErr == ERROR_SUCCESS && pCred != NULL)               
          printf(" Username = %s\n",pCred->wszUser);
    Saturday, November 3, 2018 4:52 PM