SPSecurityTrimmedControl.PermissionsString Property
Gets or sets the PermissionString.
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 SPSecurityTrimmedControl
Dim value As String
value = instance.PermissionsString
instance.PermissionsString = value
public string PermissionsString { get; set; }
Property Value
Type: System.String
Remarks
The PermissionsString attribute defines the permissions the user must have in order to view the content. See SPBasePermissions enumeration for a listing of possible values.
Examples
<SharePoint:SPSecurityTrimmedControl PermissionsString="AddAndCustomizePages, ManageLists" runat="server">
<%--content %>
</SharePoint:SPSecurityTrimmedControl>
See Also
Reference
SPSecurityTrimmedControl Class