RE: Querying Active Directory



Hi Michael,

in VB.NET, you can query AD objects with System.DirectoryServices directly.
Here is an sample:

How to authenticate against the Active Directory by using forms
authentication and Visual Basic .NET
http://support.microsoft.com/kb/326340

And:

Introduction to System.DirectoryServices
http://www.ondotnet.com/pub/a/dotnet/2003/07/28/activedir.html

Hope this help,

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.



.



Relevant Pages

  • Re: Using login alias in Membership Provider
    ... the only name that is ever used in access control lists, role membership ... The problem is that my directory allows users to authenticate with multiple ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Using login alias in Membership Provider
    ... you want to authenticate a user with either his ... the only name that is ever used in access control lists, role membership ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Configuration / Protocols Missing
    ... appropriate venue of support for time critical or business down issues. ... the ADCConfigCheck deployment tool (Check Exchange ... The tool searches Active Directory by using ... its endpoints are the Site Replication Service and a global catalog server. ...
    (microsoft.public.exchange.setup)
  • Re: IPSEC and/or Firewall
    ... IIS 5.0 support using Active Directory accounts to gain access to resources ... using Internet Protocol security (IPSEC) ... Q280383 IIS Security Recommendations When You Use a UNC Share Q217098 Basic ...
    (microsoft.public.inetserver.iis.security)
  • RE: POPUp - VB.Net
    ... how does your timer interact with the threads in your ... Private Sub Button1_Click(ByVal sender As System.Object, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)