Share via


AudienceLoader Class

Gets the current user's audience information and caches it so the audience information doesn't need to be loaded again.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.WebControls.AudienceLoader

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class AudienceLoader
'Usage
Dim instance As AudienceLoader
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceLoader

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AudienceLoader Members

Microsoft.Office.Server.WebControls Namespace