_GetADMemberShipRecursive(System.Collections.ArrayList, System.DirectoryServices.DirectoryEntry, String, Int32) Method

The _GetADMemberShipRecursive method of the AudienceManager class gets a list of members for Microsoft Active Directory directory service entries that match the specified parameters.

Parameters

Membership   Reference to the ArrayList object that gets entries from Active Directory.

entry   Instance of DirectoryEntry that identifies a specific Active Directory entry.

attribute   Indicates the type of entry. For example, "member" identifies Active Directory members.

numToGetEachTime   Number of members to retrieve from Active Directory.

Exceptions

Exception Type Condition
AudienceADImportException Error occurred while retrieving data from Active Directory.

Remarks

The _GetADMemberShipRecursive method is called by the GetADMembership method.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security

Microsoft.SharePoint.Portal.Audience Namespace