AudienceManager Methods

Include Protected Members
Include Inherited Members

The AudienceManager type exposes the following members.

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

See Also

Reference

AudienceManager Class

Microsoft.Office.Server.Audience Namespace