locked
Accessing Global Catalogue RRS feed

  • Question

  • User1727430430 posted

    Hi

     I need a very simple code or article to access Global Catalogue in company to receive active directory groups. Can Anyone provide me a code sniplet or an article?

     Thx.

    Monday, February 2, 2009 2:26 AM

Answers

  • User1191518856 posted

    To access the Global Catalogue, you can simply replace LDAP:// with GC:// in your connection string. Besides from that, the approach is exactly the same as described by gsdtech. Beware though that the Global Catalogue does not contain all attributes, but the most common ones are there.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 26, 2009 5:18 AM

All replies

  • User-1716503503 posted

    This article describes how to connect to Active Directory using System.DirectoryServices. It also demonstrates how to get the values of user properties and identify a user's group memberships.

    Sunday, February 22, 2009 11:16 PM
  • User1191518856 posted

    To access the Global Catalogue, you can simply replace LDAP:// with GC:// in your connection string. Besides from that, the approach is exactly the same as described by gsdtech. Beware though that the Global Catalogue does not contain all attributes, but the most common ones are there.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 26, 2009 5:18 AM