Arkadi Kreichman

Is it possiable using to use DirectoryEntry Class without using password

for impresenation and roled based authetication



Re: .NET Base Class Library About Active Directory role managment

vtortola

Yes.

I using a DirectoryEntry created only with the LDAP connection string to query user lists and groups memberships.

Regards.






Re: .NET Base Class Library About Active Directory role managment

Martin Xie - MSFT

Here is just one reference including code sample.

How To: Use Forms Authentication with Active Directory in ASP.NET 1.1

Summary of Steps
Step 1. Create a Web Application with a Logon Page
Step 2. Configure the Web Application for Forms Authentication
Step 3. Develop LDAP Authentication Code to Look Up the User in Active Directory
Step 4. Develop LDAP Group Retrieval Code to Look Up the User's Group Membership
Step 5. Authenticate the User and Create a Forms Authentication Ticket
Step 6. Implement an Authentication Request Handler to Construct a GenericPrincipal Object
Step 7. Test the Application