System.DirectoryServices and Authentication


E

Enosh Chang

Hi all:

Could I use System.DirectoryServices to do some functions like as
NetUserChangePassword and NetValidateName? Any comment is appreciated.

Best Regards
Enosh Chang
 
Ad

Advertisements

M

Marc Scheuner

Could I use System.DirectoryServices to do some functions like as
NetUserChangePassword and NetValidateName? Any comment is appreciated.
There's definitely a method in the ADSI stack somewhere to change the
password on a given user - provided it's on an LDAP server (Active
Directory server - not a local server user).

Not sure about the NetValidateName - what are you trying to
accomplish? You can definitely search the AD object hierarchy for any
user and see if it exists - yes. Is that what you're looking for?

More info and code samples can be found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/portal.asp

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top