This topic has not yet been rated - Rate this topic

SPSecurityTrimmedControl.Permissions Property

Gets or sets the Permissions.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public SPBasePermissions Permissions { get; set; }

See SPBasePermissions enumeration for a listing of possible values.

<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="AddAndCustomizePages">

Insert text or HTMl in this section. This will be visible only to users having the AddAndCustomizePages permission

</SharePoint:SPSecurityTrimmedControl>
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ