Share via


Audience members

Represents an audience on a SharePoint site.

The Audience type exposes the following members.

Properties

  Name Description
Public property AudienceDescription Gets or sets the description for this audience.
Public property AudienceID Gets the GUID for this audience.
Public property AudienceName Gets or sets the name of this audience.
Public property AudienceRules Gets or sets an array of AudienceRuleComponent objects that represents rules that define this audience.
Public property AudienceSite Obsolete. Gets the URL for the portal site associated with this audience.
Public property CreateTime Gets the date when this audience was created.
Public property GroupOperation Gets or sets a member of the AudienceGroupOperation enumeration that indicates the group operation that applies to this audience.
Public property LastCompilation Gets the date when the rules for this audience were last compiled.
Public property LastError Gets last error message that occurred during rule compilation.
Public property LastPropertyUpdate Gets the date when the audience properties were last changed.
Public property LastRuleUpdate Gets the date when the rules for this audience were last updated.
Public property MemberShipCount Gets the membership count for this audience.
Public property OwnerAccountName Gets or sets the owner account name for this audience.

Top

Methods

  Name Description
Public method Commit Saves all changes to audience data in the database, such as updated name, description, and operator list.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetMembership Gets an ArrayList of UserInfo objects that contains membership information for this audience.
Public method GetType (Inherited from Object.)
Public method IsMember Determines whether a user is a member of this audience.
Protected method MemberwiseClone (Inherited from Object.)
Public method ReloadMembership Causes the server to reload the membership information for this audience.
Public method ToString (Inherited from Object.)

Top

See also

Reference

Audience class

Microsoft.Office.Server.Audience namespace