Computing.Net > Forums > Windows 2000 > Checking user in the Domain

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Checking user in the Domain

Reply to Message Icon

Original Message
Name: ramnadh
Date: October 10, 2004 at 00:09:42 Pacific
Subject: Checking user in the Domain
OS: windows 2000
CPU/Ram: 512 MB
Comment:

Hi

I am having a problem regarding checking whether the User exists in
the given domain.

For example I am the user in the Domain1 and i want to connect to
Domain2 with the Username and Password. What i am doing is that when i
connecting to Domain2 i am asking to enter the Username and password.
Can anyone please tell me how can we check whether the User with that
password exists in the Domain2. How can i check whether the user is in
the Domain2.

At present i am doing this task on .Net Platform. I used
DirectoryEntry class for this one. To do this , i am creating a
DirectoryEntry with the given user and pwd and Domain.

Ex:
DirectoryEntry("LDAP://<Domain>",<UserName>,<Pwd>,AuthenticationType.Secure)

But here i am creating a virtual Directory and checking whether it
existed or not. But i don't want to create any Virtual Directory, i
just want to check whether this user with this Pwd exists in this
Domain Or not.

Can anyone please help me.

Regards,
Ramnadh


Report Offensive Message For Removal


Response Number 1
Name: spthrall
Date: October 12, 2004 at 08:22:13 Pacific
Reply: (edit)

can't you just go to user manager in domain 2 and look there??


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software