The information in this article applies to:
SUMMARYIn some providers, the ADSI groupobject.IsMember(memberADsPath) method is implemented to perform membership checks by returning the entire members collection to the client and then searching for the target's path in the collection. This operation can consume a lot of time and bandwidth if the object has a large membership list, like an Exchange distribution list. You can avoid much of this overhead if the following is true:
The LDAP and NDS providers supplied with the ADSI runtime support this technique. MORE INFORMATIONThe following code illustrates the equivalent of the IADsGroup::IsMember method in Visual Basic using the ADO technique. You can use this code to check membership in an Exchange 5.5 distribution list. Note that this code, like the LDAP IADsGroup::IsMember method, does not check for membership in distribution lists that are members of the target distribution list. Sample Code
REFERENCESMicrosoft Developer Network: ADSI Additional query words:
Keywords : kbnetwork kbADSI kbAPI kbNTOS400 kbSDKPlatform kbWinOS95 kbGrpNet |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |