SPSecurityTrimmedControl.AuthenticationRestrictions Property

Gets or sets the AuthenticationRestrictions.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property AuthenticationRestrictions As AuthenticationRestrictions
    Get
    Set
'Usage
Dim instance As SPSecurityTrimmedControl
Dim value As AuthenticationRestrictions

value = instance.AuthenticationRestrictions

instance.AuthenticationRestrictions = value
public AuthenticationRestrictions AuthenticationRestrictions { get; set; }

Property Value

Type: Microsoft.SharePoint.Utilities.AuthenticationRestrictions

Remarks

The AuthenticationRestrictions attribute allows output to be accessible by all, authenticated or anonymous users only.

See Also

Reference

SPSecurityTrimmedControl Class

SPSecurityTrimmedControl Members

Microsoft.SharePoint.WebControls Namespace