Monday, August 11, 2008

Permission for SPSecurityTrimmedControl

you can use SPSecurityTrimmedControl to customize as per the security.

'<' SharePoint:SPSecurityTrimmedControl PermissionsString="AddAndCustomizePages, ManageLists" runat="server"'>'

'<'/SharePoint:SPSecurityTrimmedControl'>'

The content within the control will be shown based on users access level.

The permission are like..
AddListItems
EditListItems
DeleteListItems
ViewListItems
ApproveItems
OpenItems
Zac Smith has listed all of them here

No comments: