Share via


AudienceLoader.GetAudienceLoader Method

Returns the current user's audience information from the cache.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Shared Function GetAudienceLoader As AudienceLoader
'Usage
Dim returnValue As AudienceLoader

returnValue = AudienceLoader.GetAudienceLoader()
public static AudienceLoader GetAudienceLoader()

Return Value

Type: Microsoft.Office.Server.WebControls.AudienceLoader
The AudienceLoader object that represents the current user's audience information from the cache.

Remarks

This method gets the current user's audience information from the cache or initializes a new instance if there is nothing in the cache.

See Also

Reference

AudienceLoader Class

AudienceLoader Members

Microsoft.Office.Server.WebControls Namespace