سؤال

A scenario where I need to query an active directory on an external network but I don't have the password of a user on the network. I've been trying a variety of methods from DirectServices and DirectoryServices.AccoutnMAnagement but end up eith the same exception "Logon failure: unknown user name or bad password." Any suggestions or remarks on if this is possible at all. Thanks in advance.

هل كانت مفيدة؟

المحلول

This isn't possible. You would need the company that owns the directory to provide an account for you to use, typically a service account that has no other use.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top