.net - How to validate domain user credentials across domains using C#? -
i need validate domain user credentials across domains within same network. example domain user account created on "domain1", need verify user account computer c1 joined "domain2". able validate using dc ip address, need find out dc ip adress of domain2 computer c1 couldn't programmatically.
is there other way validate domain user credentials?
you can use dns.gethostentry acquiring ip address. https://msdn.microsoft.com/en-us/library/ms143998%28v=vs.110%29.aspx
what api have been using auth - logonuser function ?
Comments
Post a Comment