AuthoringContainer.DisplayAudience property

Gets or sets a group of users to be exposed to the contents of this AuthoringContainer.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property DisplayAudience As AuthoringContainerDisplays
    Get
    Set
'Usage
Dim instance As AuthoringContainer
Dim value As AuthoringContainerDisplays

value = instance.DisplayAudience

instance.DisplayAudience = value
public AuthoringContainerDisplays DisplayAudience { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.WebControls.AuthoringContainerDisplays

Remarks

The visibility of controls within an AuthoringContainer is always exclusive to a single specified group; these controls are never visible to both readers and authors at the same time.

See also

Reference

AuthoringContainer class

AuthoringContainer members

Microsoft.SharePoint.Publishing.WebControls namespace