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

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid
Post New Web Links

Field Level Permissions

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

For an example, let's say I have created a custom content type with the text fields: Name, Address, Phone, Manager, Customer.

I want to create 2 permission levels - 1 will allow users to edit Name, Address, Phone, and the other to allow users to edit Manager and Customer. How would I go about doing this? The other fields should be read-only depending on the permission level.


View Complete Post

More Related Resource Links

Field level permissions on WSS 3.0 lists

I am using the Help Desk template, and need to lock it down a bit.  I would like to keep users from changing the Priority field on both the NewForm.aspx and EditForm.aspx pages.  I need my technicians to be able to edit the field, but would like it to either be hidden from the user, or have it displayed like the "Assigned To" field where it says " The control is not available because you do not have the correct permissions."   Someone suggested adding JavaScript to the pages in SharePoint Designer, but I do not know how I could wrap those fields in JavaScript so that it checks group membership.   Is what I am looking for too complex for SharePoint, or is there hope?   -Derek Brown Sr. System Engineer Vision One IT Consulting dbrown@v1corp.com

How to write an event to manage permissions on a document while uploading, depending on custom field



I am trying to find a solution to manage permissions on a document, while uploading it into a document library. This event has to be fired if a custom field is populated (it's a check box field).

How to write an event for this, i tried writing ItemAdded event, but this is getting fired as soon as a document is uploaded, before coming to the page, where we populate all the fields and hit check in.

can i capture Check-in event.

Please advise.


Permissions for Profile Field Export to Active Directory

I have a service account which is currently configured with the following permissions in the root of the domain: Allow Replicate Directory Changes Allow Write Mobile Number Allow Write Fax Number Allow Write thunbmailPhoto Do I need to assign the Allow Read permission in additon to this for FIM to be able to export to these three properties, and do I need any other permissions to be assigned?Richard Green, MCSE Windows Server 2003

Alternative solution to folder level permissions

I have a document library with multiple levels of folders that group sets of documents. Each folder has unique permissions setup. Ran into issue with URL length limitation because of multiple levels. I am looking at an alternative solution using meta data columns and views to categorize data. Everything is fine except I am not sure how to implement security akin to permissions on folder. How would I implement security based on meta data columns ? One soution that I can think of is creating workflows using SPD. Are there any other solutions for this ?

Select statement with two group level to create addtional field.


Here is an example of my question

I have  a column called Department, a column called Employee Name and a column called EmployeeAbsent.

Obviously i can easily use a select satement to get each employee's absent status. However, I would like to generate an additional field called DepartmentAbsent to see if anyone in a particular depart is absent based on the EmployeeAbset field.

how should I write the query?

expense claim application - how to set up item level permissions on expense claim document set


Hi All,

I want to create an app that replaces the existing paper-form based expenses reimbursement process with a SharePoint solution.

I have created a content type called an Expense Form Set ( it includes an excel sheet for the user to enter expenses and also includes any digitised receipts associated with the claim )

The claimant can create an expense form set in an Expense claims document library and the Expense Claims Approver is notified, they approve or reject and reimburse if necessary.

however there is a stumbling block.

How do we prevent anyone else other than the person who submitted the claim and the person who needs to approve/reject from seeing the expense claim.

Is turning on content approval the only way to do this.

If so then the act of approving the content will make it visible to anyone else who has view or contribute access to the library.

thanks and regards,


permissions at the site collection level


I am the collection administrator of a site collection called "Teams" .  By default, when the collection was created, Teams Owners, Teams Members and Teams Visitors was created.  Do these permissions only apply to the site collection "home" page, or do they apply to any new sites added to the collection (unless inheritance is broken during the creation of those other sites in the collection)?


There are no mistakes; every result tells you something of value about what your are trying to accomplish.

how to implement field-level security

I need to set up a list in which "A" users can only view and edit a subset of the fields in a custom list, while "B" users can veiw and edit all fields.  It would also be nice if, when an "A" user creates a new list item, one of the fields that is only accessible to "B" users could be set to a pre-determined value.

I'm open to different approaches here (different views of the same list, different lists with some automated way to copy items from the one list to the other, a single view of a single list with some mechanism to enforce the restrictions outlined above, or perhaps some other approach I haven't thought of).  My biggest concern is that the solution be as straightforward and simple to implement as possible.  I'm an experienced VB/C#/SQL developer, but my exposure to SharePoint has been limited to setting up and customizing very simple sites via a web browser.  I have absolutely no experience using SharePoint Designer, or any other SharePoint development tool, and am not sure I will have the time to learn it to complete this project.

Thanks in advance for your suggestions.

How to assign Item Level Permissions when a new item is created


Here's my situation: We have a document library which contains employee's performance evaluation documents.  Everyone will have a document, so everybody needs access to this document librairy.  We enabled content types on this library beacause there are different performance templates.  Also we added some metadata (columns) for Employee, Supervisor, Second Level Supervisor.  Once the document is created and saved, a workflow starts which removes everyone's rigths on the document and gives rights to "Employee, Supervisor and Second Level Supervisor".  The workflow works great.

The problem is: The workflow starts with the job called "Workflow" that runs every 5 minutes.  This means the document is available for everyone to see until the workflow actually starts (between 1 and 5 minutes).

Is there another way around this?  Does someone have a solution for my situation?  I need everyone to be able to create a new document in this document library, but once the document is created, it must have only specific rights.  And the process must be as easy (transparent) as possible for the user because it will be used by hundreds of people.

Thanks for any suggestions.

Sharepoint List - Field Level Permission



I have added Shapoint Contact List. I dont want to show Business/Home and MObile no fields to all the normal users. Only some specific users can see these fields.


I am comfortable with SPD.


Please advise.

RichHtmlField Permissions based on Permission Level?



is it possible to control available Ribbon controls of a RichHtmlField (for example AllowImages) with Permission Levels or do I have to do it on my own by iterating all Controls and set the permissions based on (for example) user groups?

Row-level permissions



I'm trying to implement row-level security using views. I've searched various forums for solutions but have not been able to get any of them to work.

I'm encountering the following issue:

I have 2 databases, database A which contains base tables and database B which contains only views pointing to tables in database A and which have WHERE clauses to implement row-level security. When I try to use the views (via SSRS) I get a message telling me the data source failed due to no select permissions on the base table in database A. Since the whole idea is to prevent direct access to the base table, this is a problem

Can someone please tell me what I need to do to allow access only through the view?



Item-level Permissions in List Advanced Settings

Is the "Item-level Permissions" in List Advanced Settings, a security option or is it a way to filter data for the user?
How does it work with the permission done on the item level when breaking inheritance with the list?


A Low Level Look at ASP.NET Architecture

ASP.NET is a powerful platform for building Web applications, that provides a tremendous amount of flexibility and power for building just about any kind of Web application. Most people are familiar only with the high level frameworks like WebForms and WebServices which sit at the very top level of the ASP.NET hierarchy. In this article I'll describe the lower level aspects of ASP.NET and explain how requests move from Web Server to the ASP.NET runtime and then through the ASP.NET HTTP pipeline to process requests.

calculation, field and map traverse adjustment, and coordinate transformation

Free Pocket PC land surveying software -- COGO calculation, field and map traverse adjustment, and coordinate transformation -- for students and professionals.

Dropdown Event (Template Field)



I have grid view control that includes a dropdown control in a template field.

I wish to execute some code when the value is changed in the dropdown list.  Can't figure out how to capture this event though?

Any suggestions?

How to take value of bound field of grid in a variable or in a textbox.


How to take value of bound field of grid in a variable or in a textbox.

 I m using this code in .aspx page for grid.

<asp:GridView ID="Grd_Mprocess" runat="server" AutoGenerateColumns="False"

                      Width="100%" AllowPaging="True"


                      AllowSorting="True" PageSize="5"  >

                 <RowStyle CssClass="odd" />


<asp:BoundField HeaderText="DOC_TYPE_PK" DataField="DOC_TYPE_PK"  Visible="true" >


  <asp:TemplateField HeaderText="DOC TYPE ID" Visible="true">  &nbs

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