Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Browsing NT4/2000 Domain contents in .net

Author  Topic 

AaronSC
Starting Member

10 Posts

Posted - 2003-12-18 : 12:14:56
Hi,

I am writing an application that will authenticate users via windows integrated security. Once the user has logged on, they will be granted access to parts of the application based on the features the administrator has granted them.

The question I have is: What .net components/classes are available to assist in the administration of this. For example, when initially granting NT/2000 users access to the system, I would like to be able to browse the domain and select a user, then grant that user the application specific access rights they require. What I would like to avoid is entering the domain\username manually. So something like in enterprise manager where you can browse the network logins to grant access to would be good.

Any ideas greatfully received.


Aaron Collett

chadmat
The Chadinator

1974 Posts

Posted - 2003-12-19 : 11:44:47
Obviously, you would have to write this tool yourself.

Look into System.DirectoryServices MSDN should be a good starting point. You will use this to browse the active directory (I think you can use it on non-AD Domains as well, not 100% sure on that though).

-Chad

http://www.clrsoft.com

Software built for the Common Language Runtime.
Go to Top of Page

AaronSC
Starting Member

10 Posts

Posted - 2003-12-19 : 12:08:29
quote:
Originally posted by chadmat

Obviously, you would have to write this tool yourself.

Look into System.DirectoryServices MSDN should be a good starting point. You will use this to browse the active directory (I think you can use it on non-AD Domains as well, not 100% sure on that though).

-Chad

http://www.clrsoft.com

Software built for the Common Language Runtime.



I thought that I would have to write it myself - didn't make that clear. Thanks for the info, I will have a look at that namespace and see what the options are. As long as I can get something that works in a similar way to SQLDMO where it can discover the SQL Servers running on the network - except for DC's then it will be perfect.

Thanks again.


Aaron Collett
Go to Top of Page
   

- Advertisement -