AudienceLeftContent Class
The AudienceLeftContent class represents the operand content of an audience rule.
System.Object
Microsoft.SharePoint.Portal.Audience.AudienceLeftContent
Public Properties
The following table shows the properties of the AudienceLeftContent class, the data type of each property, and a brief description of each.
| Name | Data Type | Description |
|---|---|---|
| DataLength | Int32 | Gets the length for the display name for content. |
| DataType | String | Gets the data type of the content in the user profile. |
| DataTypeName | String | Gets the user-friendly name of the content data type. |
| DisplayName | String | Gets the display name for content as it appears in the user interface. |
| Name | String | Gets the name of the operand content, such as the name of a property in the user profile. |
| bProperty | Boolean | Gets a flag that indicates whether content is from the user profile. |
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
AudienceLeftContent represents the operand portion of a rule definition. Audience rules are defined as operand (AudienceLeftContent) plus operator (AudienceOperator) plus value. Values for the operand are determined by the system: all the user profile properties flagged as public, plus all user names. User profile data is retrieved from the Property object in the Microsoft.SharePoint.Portal.UserProfiles Namespace namespace. This data consists of properties such as first name, last name, title, and so on. Each instance of the object represents one property value from the user profile. This object can only be instantiated by the AudienceManager object and is accessed through the AudienceManager.AudienceLeftContentList property.
Requirements
Namespace: Microsoft.SharePoint.Portal.Audience
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Security: Code Access Security
Related Topics
AudienceManager Class | Property Class | Microsoft.SharePoint.Portal.UserProfiles Namespace