WNetAddConnection2的返回值

账号不带域名 1326

https://stackoverflow.com/questions/42205992/error-1326-when-wnetaddconnection2-is-run-by-a-local-system-account

If the username and password you're providing to WNetAddConnection2 belong to a domain account, the username should definitely include the domain name. If they belong to a local account on hostname2 you might need to specify hostname2\username instead.

 

账户带了域名  2202 

https://stackoverflow.com/questions/45974002/how-to-resolve-this-error-error-bad-username-in-wnetaddconnection2

 

posted @ 2020-02-26 21:52  ChuckLu  阅读(1539)  评论(0编辑  收藏  举报