Microsoft Deployment Toolkit
Documentation Library HRESULTValidLogon(LPCTSTR userName, LPCTSTR password, LPCTSTR domain) |
This method verifies whether a set of credentials is valid, as shown in Table 10.
Table 10. HResultValidLogon
HResult |
Description |
S_OK |
Credentials are valid |
S_FALSE |
Credentials are not valid |
E_FAIL |
Could not locate the domain controller; check logs for details |
Related Topics