Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ADSI - User A/c Info Question

Thread Tools

ADSI - User A/c Info Question

Posts: n/a
Hi all

I need to to know whether a User Account is Enabled or
Disabled through ADSI. Kindly share a code snippet in c#
which can do the same.

I would also want to see the Properties of the User in
order to check the password policy,expiry date etc. whats
the best way to do that?

thanks in advance

Reply With Quote
Natty Gur
Posts: n/a

you can use DirectorySearcher.FindOne().
Refer to the following article :

Natty Gur[MVP]

blog :
Mobile: +972-(0)58-888377

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
validate user and go to ok page adsi ldap sal21 ASP General 0 01-23-2008 02:00 AM
ADSI - Trying to enable a user - the user add works very well Jeremie Legault ASP General 0 11-23-2005 09:15 PM
User login with ADSI Kenneth Keeley ASP .Net Security 2 12-29-2003 12:07 AM
User login with ADSI Kenneth Keeley ASP .Net 0 12-15-2003 06:33 AM
Retrieve logon user name from ADSI venkat ASP .Net 0 11-06-2003 06:41 AM