Share 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) Initializes a new instance of the AudienceManager class that connects to the site in the specified PortalContext object.

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 Gets the reference to the PortalContext object with which this object was initialized.
Public property SiteGuid Gets the globally unique identifier (GUID) for the current site.
Public property SiteURL 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 Windows SharePoint Services.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetADsPath Parses the specified string into a list of smaller strings of unique domains, user names, and e-mail addresses.
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 Gets a list of AudienceNameID objects that correspond to the specified list of audience names.
Public methodStatic member GetAudienceIDsAsText
Public methodStatic member GetAudienceIDsFromText
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
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) Returns whether the current user is in the specified audience.
Public methodStatic member IsCurrentUserInAudienceOf(AudienceLoader, String, Boolean) Returns whether the current user is in the specified audience.
Public method IsFilterActive
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 methodStatic member SGetADsProp Gets a list of paths for the Microsoft Active Directory directory service that matches the specified parameters.
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

Top

See Also

Reference

AudienceManager Class

Microsoft.Office.Server.Audience Namespace