Groups | Blog | Home
all groups > dotnet sdk > march 2006 >

dotnet sdk : users in Domain Controller


Wasco
3/10/2006 3:48:31 AM
Hi all,
I have a little problem..

I need to create a class that perform:
- retrieve all users whitin a domain in domain controller (domainName
is input parameter)
- verify if a user is whitin a certain domain in domain controller
(user & domainName are input parameters)
- verify user,password of that user on a domain in domain controller.


I dont' have any ideas on how get these actions.


Someone could help me posting a code, useful links, explanations..?
Thanks in advance
walter
Willy Denoyette [MVP]
3/10/2006 4:14:00 PM

[quoted text, click to view]
| Hi all,
| I have a little problem..
|
| I need to create a class that perform:
| - retrieve all users whitin a domain in domain controller (domainName
| is input parameter)
| - verify if a user is whitin a certain domain in domain controller
| (user & domainName are input parameters)
| - verify user,password of that user on a domain in domain controller.
|
|
| I dont' have any ideas on how get these actions.
|
|
| Someone could help me posting a code, useful links, explanations..?
| Thanks in advance
| walter
|

Look for the System.DirectoryServices namespace classes in the docs or in
MSDN, they wrap ADSI and exactly what you are looking for.
Some google search will return numerous samples.
Willy.


wasco77 NO[at]SPAM gmail.com
3/13/2006 7:33:18 AM
Thanks a lot!!
AddThis Social Bookmark Button