The SharePoint server control SPSecurityTrimmedControl can be used to control rendering of page elements/components base on user’s permission. The PermissionsString property can be used to specify users with what permissions are allowed viewing of the page element/components within. For a list of possible PermissionsString, refer to http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.spsecuritytrimmedcontrol.permissionsstring.aspx. More information at Mark Wagner’s blog.
Monday, May 5, 2008
Rendering of SharePoint controls base on user permission
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment