Accessing Active Directory Information

  • Thread starter Thread starter thomson
  • Start date Start date
T

thomson

Hi,
Is it possible to access the user information from a Web
Application,
Iam not able to use System.DirectoryServices from my code
behind.---using System.DirectoryServices
What am i missing?

Thanks in Advance

thomson
 
What error are you getting?

Hi,
Is it possible to access the user information from a Web
Application,
Iam not able to use System.DirectoryServices from my code
behind.---using System.DirectoryServices
What am i missing?

Thanks in Advance

thomson
 
thomson,
What are u trying to do?
I guess u must be trying to authenticate users against Active Directory?
Elaborate please
Patrick
 
iam trying to get the users in the domain, so i can avoid a database
table, for users.

iam not getting any errors, the issue is that , when you type using
System. it should show all the underlying namespaces, iam not able to
find Directory Services in that
 
If you're using VS: have you added the a reference for
System.DirectoryServices?
In the Solution Explorer you should have 'References'.
 
Did you add reference to System.DirectoryServices assembly?

iam trying to get the users in the domain, so i can avoid a database
table, for users.

iam not getting any errors, the issue is that , when you type using
System. it should show all the underlying namespaces, iam not able to
find Directory Services in that
 
How are you implementing you're security (authentication and authorisation)
are you using intergrated windows, forms or passport?

Ollie Riches
 
Thomson try adding System.DirectoryServices in your code behind as
adviced..
Open ur project> right click on reference Add Reference> on the .NET
look for Systems.Directory services and click ok..
thats it..
Enyoy
Patrick
 
Back
Top