Article:
  ASP.NET Forms Authentication, Part 2
Subject:   get the DirectoryEntry root properties
Date:   2006-06-02 03:49:10
From:   kotia
nice code, worked perfectly with mine. I have downloaded some sample codes of AD Directory utilities, tried to get the OU name of the DirectoryEntry root from asp.net page (aspx), but always ended up server is not functioning.


With your code, I managed to logged in and get authenticated, but any idea how do i get the user object properties or the DirectoryEntry root?
I need it to pass the OU to the redirected page as a query string.


please help asap.