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)
Available in Sandboxed Solutions: No
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".