.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SharePoint Permission Groups

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :SharePoint

Hi All,


I want to disallow team members from editing a particular field in a custom list. But this same field must be edited by site Owners. How can I check for this?


 I hope to do something like the below.. but i dont know how I can read the roles;i.e the sites People and Groups


if (SPSite.Role["TeamMember"]=="true")


SPListItem order["Checked By"].Readonly="true"


else if (SPSite.Role["TeamOwner"]=="true")


 SPListItem order["Checked By"].Readonly="false"



Any help will be great!


Thanks n Regards,



View Complete Post

More Related Resource Links

Sharepoint delete groups


How do I delete groups from companyweb ?


Thank You

sharepoint 2007 permission


Hi all
1- when i create group in shrepoint 2007 i ned to determine permission for this group like users of this group have permission for specific folders and when any user login from this group the configuration of welcome page is differ
like new links appeare other not ....

2-The customer can ask to be notified when new information is updated

3- user can place files in specific folders by emailing them to specific addresses


SharePoint permission to view draft pages



I would like to create a new permission in sharepoint 2007 where all the people having this permission should be able to view the draft pages but they should not have right to edit that page or publish that page

can any one please let me know how to create a new permission which has a right to view draft pages but not edit\publish the page.

THANKS in advance u can reach me on rajesh.batchu@hotmail.com

you do not have permission to do this operation. Whenever I try to edit a page in sharepoint designe


Hi There,

I keep getting the error message "you do not have permission to do this operation" in  sharepoint designer 2007 (WSS 3.0), whenever I try to edit a page in Sharepoint Designer.

I am a farm admin, site collection admin and site admin, after the error message I can click OK and enter the Administrator password which has the same priviliges as me and it thinks about it for 5 minutes then returns the same error, eventually after several hours it will allow me to save changes but it's about a 1 in 20 chance.

As it does save sometimes it would appear to me that somehow it is losing the connection or temporarily losing the credentials. Does anybody have a clue where I can start to find out a solution to this problem. I get the feeling that something is corrupted somewhere but I don't what to look for and where.

Any help, tips, ideas gratefully received.

Thanks in advance.


user permission in granula level in SharePoint version 2

Hi, everyone:   I am administrator of a SharePoint v2 site. I found that I can either give "view item" or "view item, insert item, remove item and update item" permission to users, no middle. However, I do wish to give some users "view, edit" permission, but no "insert and remove item" permission.   So, does SharePoint v2 support this in out of box feature? if yes, how to make it, if no how can we achieve in easiest way?   Thank u MySTfrom Finland :D

In Sharepoint 2007 while creating a group "Give Group Permission to this Site" section is missing

I have a strange anamoly in Sharepoint 2007 but I am guessing I am missing some minor step since I am new to Sharepoint. I am trying to create a new group which I have done before successfully. 1.On the home page of the site,  I click Site Actions, point to Site Settings, and then click People and Groups. 2.On the New menu, I click New Group. 3.Type a name for the group, and then type a brief description of the group's attributes in About Me. 4.I change the owner of the group or click Browse to find an individual's account name. 5.In the Group Settings section, I click the options to specify who can see the members of this group and who can add or remove members. 6.In the Membership Requests section, I click the options (No, No) and no email address entered Here is the problem part: I am supposed to see  the "Give Group Permission to this Site section"  but I see only Create and Cancel buttons.   Can you please help why I do not see  "Give Group Permission to this Site section". Is there another way to assign group permission?

WebParts with audiences based on SharePoint groups containing AD Groups are not visible.

My client has two webparts on a page. Each of the webparts is audienced with a SharePoint group. Each SharePoint group contains one or more AD groups. The groups are not deep nested. I.e. SharePointGroup -----> ADGroup -----> list of user accounts.. When a user in any of these groups browses to the page, they cannot see the webpart. An AD user added to the SharePoint group sees the audiences webpart properly. http://support.microsoft.com/kb/948681 references this issue, however these servers are all recently built with Service Pack 2 slipstream install media, so this hotfix is not valid. They believe that the webparts were working fine previously, but then some ILM work was carried out in the AD over the weekend and it's possible that this has changed some fo the group memberships. Given that we're using SP Groups and AD Groups, Does the actual SSP Import bear any relevance to these memberships or does SharePoint use a (potentially cached) Group memberships object on the SPPrincipal? Paul.  Overweight SharePoint addict!

Sharepoint permission to add files but not to edit

Hi all, I delevoped one certification process in Sharepoint 2007. I upload in a document list some training material to the user read. After this, the users must do a test composed by 10 question about the subjects inside the training material. If the user answer correcty to 8 or more questions, the user is certified and I create the certification word documenht in another document list based on a template document designed by me. I have a workflow to do this. The problem is that the workflow run when the user finish the questionary. I must give permission to the user that starts the workflow to add documents in the certification document library for the case if gets more than 8 questions correct to create the certification document, but I don't want that the user can change the documento to not change the score in it. So, for this document library, I must give access to add but not to edit documents. I create a new level permissions, and I checked the permissions to add and view, and I unchecked the edit and dele permissions, but when I do this, the workflow gives an error saying that don't have permission to create a item in that document list. If I check the edit checkbox, the workflow runs without problem but the user can change the document. How can I solve this problem? Regards, Daniel

Strange Permission Problems with Sharepoint 2003

Hi We are having a problem with access permissions with sites created in Sharepoint.  We set the permissions for individual site via 'Site Settings' for that site and lock it down to certain individuals selected from Active Directory. However the problem is some users who are in the administrators Active Directory AD Group manage to get to access the site when they do not have any permissions set via 'site settings' Any ideas on why this is occuring and any possible solution. TIA

No permission to open a list pages in Sharepoint Designer 2007


We have a sharepoint site with two main lists.

List 1: I could open the pages, make changes BUT cannot create workflows (for the site).
List 2: I could not even open it. I get the message
"You do not have permission to do this operation. Ask your web site administrator to change your permission and try again, or log on with user account that has this permission ...."

I am secondary server administrator and also have 'full control' of the site.

Any ideas?

Thank you

sharepoint permission problem in navigation


I had created a site in sharepoint 2007 I have full access as will as I am site collection administrator. But i dident find the navigation settings from site action => site settings=>modification

I can see only 3 options Create,editpage,site settings. What can I do please help.

Creating default SharePoint groups for upgraded sites



I am doing some testing in preparation for a DB attach upgrade from MOSS 2007 to SharePoint Server 2010, and I've run across a bunch of old sites that do not have the default Owners, Members, and Visitors groups. Without those groups (specifically, without Members) we won't be able to take full advantage of the My Sites Memberships page. 

I noticed, though, that when I "Enable Enterprise Features" for all current sites from within Central Administration, sometimes those groups get created on a site that didn't have them before. I've done this on a few different environments and it doesn't seem to always create those groups. Now, I didn't think I had to run Enable Enterprise Features because our 2007 environment was Enterprise, but then I realized some of the sites were created back in SharePoint 2003 and enterprise features might never have been run on the sites when it was upgraded to MOSS 2007. 

So the question: is running Enable Enterprise Features for current sites supposed to create the default groups if they don't exist (along with everything else it does)? Is that the recommended way to get groups made for all sites so site admins/owners can add people to that new Members group which allows the users to visit their My Site page to view all the sites they are members of?


Give permission to all users of a customized sharepoint portal, where all the user controls of the w

Hello there

I have created a sharepoint portal and customized it. I have created my own master page and there are many webparts implemented. This has been hosted in a MOSS server. When a normal user is trying to access the portal first thing in the morning, he is getting a "You are not authorized to view this page" error. But when a site admin access the site, there is no issue and he is able to access the site. The site admin does nothing in the site and once he has logged in to the site,  the user is able to access the site without any trouble.

I have found what was causing the issue. But dont know whats the fix for it.

The issue is...We were trying to place all the usercontrols created as part of our application in a seperate folder under ControlTemplate folder. This is what was not allowing the users who are not site admins. But it was ok, when the admin first accesses the same.

WHat is the fix for this ... to make the new folder accessable to all users ??

Kindly help...

Sharepoint Server 2007 Document Library permission question


Is there a way to set permissions on document library where HR can see all documents but employees can only see the documents that they uploaded?

I am trying to configure permission level but can't find anything that will solve the purpose.

HR is hoping to do online enrollment and remove paper format.

Unable to delete groups in SharePoint Foundation 2010

I have a test group I created in SharePoint that I want to delete (I'm the only user in the group). In the "People and Groups: All Groups" screen I click the edit icon next to the group and then click on the "Delete" button and ok the following warning dialog. However, the group doesn't get deleted. Any idea why this is happening and how to finally delete this group? Thanks.

Sharepoint list item permission



i need to set permission to the List item that Item should be able to edit by Item Created User, and should be viewable by the Sharepoint groups that User selects when creating a New Item


How can i achieve this ?

Thanks and Regards,


SSIS SharePoint List Adapter - how to query Users & Groups?


I am using SSIS SharePoint List Adapter to load data in and out of my SharePoint Lists from within SSIS, and most of it is working fine.  However, I need to perform a lookup against the Users & Groups collection in SharePoint so I can retrieve the UserID and set the value when writing back to SharePoint.  Any help would be tremendously appreciated!


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend