AudienceManager members
Represents the entry point for the audience classes.
The AudienceManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AudienceManager() | Initializes a new instance of the AudienceManager class. | |
AudienceManager(ServerContext) | Obsolete. Initializes a new instance of the AudienceManager class that connects to the site in the specified SPServiceContext object. | |
AudienceManager(SPServiceContext) | AudienceManager constructure. No input, will retrieve current URL request as site URL |
Top
Properties
Name | Description | |
---|---|---|
AudienceLeftContentList | Gets an ArrayList object of AudienceLeftContent objects. | |
AudienceOperatorList | Gets an ArrayList object that contains references to AudienceOperator objects. | |
Audiences | Gets the collection of Audience objects for the current site. | |
CurrentServerContext | Obsolete. Gets the reference to the SPServiceContext object with which this object was initialized. | |
SiteGuid | Obsolete. Gets the globally unique identifier (GUID) for the current site. | |
SiteURL | Obsolete. Gets the URL for the current site. |
Top
Methods
Name | Description | |
---|---|---|
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. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAudience(Guid) | Gets an instance of the Audience object that represents the audience with the specified globally unique identifier (GUID). | |
GetAudience(String) | Gets an instance of the Audience object that represents the audience with the specified name. | |
GetAudienceIDs | Obsolete. Gets a list of AudienceNameID objects that correspond to the specified list of audience names. | |
GetAudienceIDsAsText | Creates a delimited text representation of the specified Audience objects’ identifiers. | |
GetAudienceIDsFromText | Counts the number of Audience object identifiers in a delimited string and loads the parsed identifiers in string Arrays. | |
GetAudienceNames | Gets a list of AudienceNameID objects that correspond to the specified list of audience globally unique identifiers (GUIDs). | |
GetAudienceOperator | Gets a list of AudienceOperator objects that correspond to the specified operand. | |
GetHashCode | (Inherited from Object.) | |
GetToolPaneControl | Requests an IToolPaneControl interface. | |
GetType | (Inherited from Object.) | |
GetUserAudienceIDs(Boolean) | Gets a list of globally unique identifiers (GUIDs) for the audiences to which the current user belongs. | |
GetUserAudienceIDs(String, Boolean, SPWeb) | Gets a list of audience globally unique identifiers (GUIDs) for the specified user name. | |
InitializeStrings | Initializes an array of strings that are used by the audience Web Part. | |
IsCurrentUserInAudienceOf(String, Boolean) | This method will check whether current user's Audience membership belong to any audience as defined within audienceTextRepresentation. If does, return true, else return false. If there is any exception occured, this function will return false and log the exception, raise ShipAssert() | |
IsCurrentUserInAudienceOf(AudienceLoader, String, Boolean) | This method will check whether current user's Audience membership belong to any audience as defined within audienceTextRepresentation. If does, return true, else return false. If there is any exception occured, this function will return false and log the exception, raise ShipAssert() | |
IsFilterActive | Determines if the current ServerContext and UserProfileApplication have been set. | |
IsMemberOfAudience(String, Guid) | Determines whether a user is a member of a specified audience. | |
IsMemberOfAudience(String, String) | Determines whether a user is a member of a specified audience. | |
MemberwiseClone | (Inherited from Object.) | |
Resolve | ||
Search(String) | ||
Search([]) | ||
ToString | (Inherited from Object.) | |
ValidateIsIncludedFilter | Verifies the validity of the specified string of globally unique identifiers (GUID)s for an audience. |
Top
Fields
Name | Description | |
---|---|---|
GUID_AllPortalUser | Gets a new GUID for a user in the Everyone Global Audience. |
Top