AudienceNameID Class

The AudienceNameID class represents a synopsis of information about an audience, such as name, globally unique identifier (GUID), and whether the audience is still valid.

System.Object

Microsoft.SharePoint.Portal.Audience

Public Properties

The following table shows the properties of the AudienceNameID class, the data type of each property, and a brief description of each.

Name Data Type Description
AudienceID System.Guid Gets the GUID for an audience.
AudienceName String Gets the name of the audience.
bValid Boolean Gets a flag that indicates whether the audience is valid.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

AudienceNameID is instantiated and used by the AudienceManager class to create array lists of audience information.

Example

The following code example shows how to use the AudienceManager object to populate a list of AudienceNameID objects.

Requirements

Namespace: Microsoft.SharePoint.Portal.Audience

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security

AudienceManager Class