MenuItemTemplate.AuthenticationRestrictions property

Sets or retrieves the authentication that is required to view the menu item.

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

Syntax

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

value = instance.AuthenticationRestrictions

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

Property value

Type: Microsoft.SharePoint.Utilities.AuthenticationRestrictions
An AuthenticationRestrictions value that represents the required authentication: "AllUsers", "AnonymousUsersOnly", or "AuthenticatedUsersOnly". The default is "AllUsers".

See also

Reference

MenuItemTemplate class

MenuItemTemplate members

Microsoft.SharePoint.WebControls namespace