SGetADsProp(String, String, Microsoft.SharePoint.Portal.PortalContext, String[]) Method

The SGetADsProp method of the AudienceManager class gets a list of paths for Microsoft Active Directory directory service that matches the specified parameters.


strFilter Filter string used to search for Active Directory entries using a DirectorySearcher object.

strProp Property string used to retrieve data using a ResultPropertyValueCollection object.

pc PortalContext object that contains identifying information about the current site.

rgstrDomain out parameter that contains a registered Microsoft Windows NT domain.

Return Value

System.Collections.ArrayList A list of Active Directory paths that matches the specified parameters.


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


The SGetADsProp method is used internally to import data from Active Directory.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security

Microsoft.SharePoint.Portal.Audience Namespace