MenuItemTemplate.AuthenticationRestrictions 属性

设置或检索查看该菜单项所需的身份验证。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property AuthenticationRestrictions As AuthenticationRestrictions
    Get
    Set
用法
Dim instance As MenuItemTemplate
Dim value As AuthenticationRestrictions

value = instance.AuthenticationRestrictions

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

属性值

类型:Microsoft.SharePoint.Utilities.AuthenticationRestrictions
AuthenticationRestrictions 值,它代表所需的身份验证:"AllUsers"、"AnonymousUsersOnly"或"AuthenticatedUsersOnly"。默认值为"AllUsers"。

另请参阅

引用

MenuItemTemplate 类

MenuItemTemplate 成员

Microsoft.SharePoint.WebControls 命名空间