AudienceOperator Class

The AudienceOperator class represents the definition of an audience operator.

System.Object

Microsoft.SharePoint.Portal.Audience.AudienceOperator

Public Properties

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

Name Data Type Description
OperatorDisplayName String Gets the display name for audience operator that appears in the user interface.
OperatorName String Gets the name of the audience operator.
bGroupOperator Boolean Gets a flag that indicates whether the audience operator is also a group operator or a "NOT" operator.

Thread Safety

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

Remarks

The AudienceOperator class represents an individual operator that is allowed as part of a rule definition. The list of allowed operators includes "=," ">," ">=," "<," "<=," "Contains," "Reports Under," "<>," "Not contains," "AND," "OR," "(," ")," and "Member of." New operators require the following information: the display name (if operator is used from the user interface), the operator name used by the audience objects, and whether the operator can be applied to a group or whether is a "NOT" operator. Valid group operations are determined by the AudienceGroupOperation enumeration, and include "AND," "OR," "(," and ")."

This object can only be instantiated by the AudienceManager object. Use the AudienceManager.AudienceOperatorList property to retrieve the correct AudienceOperator object.

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 | AudienceGroupOperation Enumeration