Partilhar via


AudienceManager Members

Include Protected Members
Include Inherited Members

Represents the entry point for the audience classes.

The AudienceManager type exposes the following members.

Constructors

  Name Description
Public method AudienceManager() Initializes a new instance of the AudienceManager class.
Public method AudienceManager(ServerContext) Obsolete. Initializes a new instance of the AudienceManager class that connects to the site in the specified SPServiceContext object.
Public method AudienceManager(SPServiceContext)

Top

Properties

  Name Description
Public property AudienceLeftContentList Gets an ArrayList object of AudienceLeftContent objects.
Public property AudienceOperatorList Gets an ArrayList object that contains references to AudienceOperator objects.
Public property Audiences Gets the collection of Audience objects for the current site.
Public property CurrentServerContext Obsolete. Gets the reference to the SPServiceContext object with which this object was initialized.
Public property SiteGuid Obsolete. Gets the globally unique identifier (GUID) for the current site.
Public property SiteURL Obsolete. Gets the URL for the current site.

Top

Methods

  Name Description
Public method CheckRuntimeRender Checks whether the audience membership of the current user is contained in the audience list of any Web Parts in this Web site based on Microsoft Windows SharePoint Services.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAudience(Guid) Gets an instance of the Audience object that represents the audience with the specified globally unique identifier (GUID).
Public method GetAudience(String) Gets an instance of the Audience object that represents the audience with the specified name.
Public method GetAudienceIDs Obsolete. Gets a list of AudienceNameID objects that correspond to the specified list of audience names.
Public methodStatic member GetAudienceIDsAsText Creates a delimited text representation of the specified Audience objects’ identifiers.
Public methodStatic member GetAudienceIDsFromText Counts the number of Audience object identifiers in a delimited string and loads the parsed identifiers in string Arrays.
Public method GetAudienceNames Gets a list of AudienceNameID objects that correspond to the specified list of audience globally unique identifiers (GUIDs).
Public method GetAudienceOperator Gets a list of AudienceOperator objects that correspond to the specified operand.
Public method GetHashCode (Inherited from Object.)
Public method GetToolPaneControl Requests an IToolPaneControl interface.
Public method GetType (Inherited from Object.)
Public method GetUserAudienceIDs(Boolean) Gets a list of globally unique identifiers (GUIDs) for the audiences to which the current user belongs.
Public method GetUserAudienceIDs(String, Boolean, SPWeb) Gets a list of audience globally unique identifiers (GUIDs) for the specified user name.
Public method InitializeStrings Initializes an array of strings that are used by the audience Web Part.
Public methodStatic member IsCurrentUserInAudienceOf(String, Boolean)
Public methodStatic member IsCurrentUserInAudienceOf(AudienceLoader, String, Boolean)
Public method IsFilterActive Determines if the current ServerContext and UserProfileApplication have been set.
Public method IsMemberOfAudience(String, Guid) Determines whether a user is a member of a specified audience.
Public method IsMemberOfAudience(String, String) Determines whether a user is a member of a specified audience.
Protected method MemberwiseClone (Inherited from Object.)
Public method Resolve
Public method Search(String)
Public method Search([])
Public method ToString (Inherited from Object.)
Public method ValidateIsIncludedFilter Verifies the validity of the specified string of globally unique identifiers (GUID)s for an audience.

Top

Fields

  Name Description
Public fieldStatic member GUID_AllPortalUser Gets a new GUID for a user in the Everyone Global Audience.

Top

See Also

Reference

AudienceManager Class

Microsoft.Office.Server.Audience Namespace