C#, ASP.net, and Active Directory..
-
The big picture of what I'm trying to do is to allow all users of an active directory global group to log in to an ASP.net/C# website on my intranet. I have no idea how to do this. Lol. Can someone point me in a direction? thanks.
-
The big picture of what I'm trying to do is to allow all users of an active directory global group to log in to an ASP.net/C# website on my intranet. I have no idea how to do this. Lol. Can someone point me in a direction? thanks.
theory: I think you need something like "Forms" authorization in your ASP.NET website set in web.config; second step for you will be "custom membership provider" to write; i saw a few days ago example on msdn in C#. third step is to create database for your custom membership provider, at this point you can google for the AD examples in C# [or maybe i can post you some, or simply take a look on System.DirectoryServices namespace] ... some code which you've got to do is to obtain all info about users and/or groups and put it to your membership db. These 'DirectoryServices' then you can always use for password checking, etc. mail me if you need further assistance :)
VirtualVoid**.NET**