Groups | Blog | Home
all groups > asp.net > december 2004 >

asp.net : Accessing Active Directory Information


thomson
12/12/2004 11:19:08 PM
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
Patrick Olurotimi Ige
12/13/2004 1:09:07 AM
th



*** Sent via Developersdex http://www.developersdex.com ***
Patrick Olurotimi Ige
12/13/2004 1:19:07 AM
thomson,
What are u trying to do?
I guess u must be trying to authenticate users against Active Directory?
Elaborate please
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
thomson
12/13/2004 2:23:28 AM
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
Fredrik Elestedt
12/13/2004 11:26:57 AM
If you're using VS: have you added the a reference for
System.DirectoryServices?
In the Solution Explorer you should have 'References'.

[quoted text, click to view]

Ollie
12/13/2004 1:36:48 PM
How are you implementing you're security (authentication and authorisation)
are you using intergrated windows, forms or passport?

Ollie Riches

[quoted text, click to view]

Patrick Olurotimi Ige
12/13/2004 2:19:07 PM
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


*** Sent via Developersdex http://www.developersdex.com ***
Shiva
12/13/2004 2:22:49 PM
What error are you getting?

[quoted text, click to view]
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

Shiva
12/13/2004 4:06:40 PM
Did you add reference to System.DirectoryServices assembly?

[quoted text, click to view]
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

AddThis Social Bookmark Button