Audiences Property

The Audiences property of the AudienceManager class gets the collection of Audience objects for the current site.

Property Value

Microsoft.SharePoint.Portal.Audience.AudienceCollection collection of Audience objects that are associated with the current site.

Remarks

The Audiences property is read-only. This property does not require the user to be a member of the Administrator site group for Microsoft Office SharePoint Portal Server 2003.

Example

The following code example shows how to retrieve and list information for audiences associated with a site.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security

Microsoft.SharePoint.Portal.Audience Namespace