MenuItemTemplate.PermissionsString Property
Sets or retrieves the Permissions property as a string.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property PermissionsString As String
Get
Set
'Usage
Dim instance As MenuItemTemplate
Dim value As String
value = instance.PermissionsString
instance.PermissionsString = value
public string PermissionsString { get; set; }
Property Value
Type: System.String
A String that contains the SPBasePermissions permission mask that specifies the permissions that are required to view the menu item.
Examples
The following example sets permissions for a menu item:
<SharePoint:MenuItemTemplate runat="server"
PermissionsString="ViewListItems,AddListItems,EditListItems" />