Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 08, 2008 10:54 AM by TATWORTH
Dec 06, 2005 07:12 PM|LINK
Dec 06, 2005 08:11 PM|LINK
Dec 13, 2005 05:49 PM|LINK
Dec 14, 2005 01:58 PM|LINK
Dec 14, 2005 02:44 PM|LINK
Dec 15, 2005 01:31 PM|LINK
Jul 12, 2006 06:57 PM|LINK
Ah... I see the problem. I should have asked what the SR-Nework_Team was. I assumed it was a container you created. That is definitely your problem.
Groups do not hold other objects in AD. They have attributes which point to other objects. Containers like CN=Users or organizational units like OU=someOU hold objects. You are searching the directory to see if a users exists. You need to give it a location
in your directory that is a parent to your users. So just cut everything off until the DC= stuff and you would be good.
What will happen is that it will bind and authenticate the user. It is then up to you to check the user's group membership using User.IsInRole("SR-Network_Team") to see if they are in the group you want them to be.
It is all dependant on you finding them first.
Jul 12, 2006 08:41 PM|LINK
Jul 12, 2006 09:53 PM|LINK
Jul 13, 2006 12:49 PM|LINK