How to set different views for admin and user
Hi I'm a bit new to SharePoint. Here is my question
How can we create different views for an admin connected to a user. For example, I need to display quicklaunch for admin only, not user. And the user shouldn't see the site actions tab. How can we fix this. Can anyone come up with a solution or any blog that we can link to?
Thanks in advance.
a source to share
This blog will help with the code that determines if a user is an administrator (or even just the owner) http://blogs.tamtam.nl/duarte/2008/12/09/Sharepoint+How+To+Verify+If+A+User+ Is + Site + Administrator.aspx
Then you can create a control that uses this condition to show or hide content. See my blog here for an example: http://jcapka.blogspot.com/2009/02/handy-hiding-panel.html
You can also use the built-in SPSecurityTrimmedControl, but it does not provide the ability to explicitly check if a user is an administrator.
a source to share