2
votes
0answers
177 views

Changing the Modified Date of a List Item using the SharePoint Client Object Model (C#) with Contribute Permission

I have a small snippet of code that I use to update the Modified Date of a list item and it works great for users with Full Control permissions. However, for users with just Contribute access to the ...
1
vote
0answers
41 views

Check highest priority permission to access folder or file

if any folder or file has more than one permission(e.g. read and full control) for any user or group to access it if i check that permission in code how to check highest priority if folder or file has ...
0
votes
1answer
50 views

How to validate if a SharePoint group already has permission on the site using Client Object Model?

I'd like to check if a certain group already has permission on the site using the client object model. I couldn't find any good example for that.
0
votes
2answers
1k views

Grant Permissions to List Items using existing SharePoint Group using Client Object Model

I have found examples on how to add users to SharePoint Groups using Client Object Model. Can anyone help provide an example on how to grant permissions to items in a List using an existing ...
0
votes
1answer
658 views

SPServices - GetRolesAndPermissionsForCurrentUser

I have a list where one group of users is not allowed to delete items but they have view and edit permissions. All items in the list contain an attachment. However, users are not allowed to delete the ...
4
votes
2answers
1k views

SP JSOM: is there any way to get the group by name instead of getById(10)

is there a way I can use the below with something like getByName(thisGroup), instead of getById(10) in SP 2010 jsom: function setSomeUsers(dataObj, projGroup) { var clientContext = new ...
0
votes
1answer
313 views

SP2010 JSOM: possible to automate breaking inheritance of item, and controlling role assignment using javascript

i am working on a custom system I am building into a site that allows various reps, of various departments to enter project information and many different aspects of related data (children) into the ...
1
vote
1answer
517 views

Is it possible to check if a document has unique permissions using SP2010 Client Object Model

I have a 2010 site that has many documents in many different folders. I believe a number of them have broken permission inheritence. Is there a way i can code a C# console app to utilise client object ...
0
votes
2answers
2k views

Remove non full controlled Permission Sharepoint Groups from a SharePoint List using Client Object Model

I have SharePoint List which has stop inheriting from the Parent Sub Site. I need to retrieve the SharePoint Groups which are not been assigned with Full Control on the List. Then need to remove them ...
1
vote
0answers
433 views

Get Permissions with client object model

i want to add a permission on a folder who's inside a document library with javascript/jquery/client object model. The problem i have is, its a custom permission level created when some feature is ...
1
vote
1answer
385 views

Windows Application to access the list in a Sharepoint Site using Client Object Model

I have created a Windows Application, which uses Client object model to access lists in a Sharepoint site(installed and configured on a separate server). I have used the default credentials to access ...
1
vote
1answer
352 views

How can i get entire role assignments from SP 2010 using the COM interface including the users in the AD groups and not the groups names?

I've been trying to get all the RoleAssignments using the COM interface. the problem is that i get the AD user group names instead of the actual users inside the groups. my code looks something like ...
3
votes
1answer
719 views

Permissions error in IE 8 but not Firefox 6.0.2?

I am using the Javascript Client Object model to access some information from a list. Below is the code I am using: function getDeptInfo(id) { //var value = ...
4
votes
2answers
3k views

Remove “Add new item” functionality from lists

I have lists where the items are created from nintex workflows. I need to prevent the users from adding list items manually, as the workflows ensure dependencies. Revoking the add item permission is ...
1
vote
0answers
467 views

Get group membership of current users using ECMAScript [duplicate]

Possible Duplicate: How do I determine a user's SharePoint group membership using the client object model? How can I use the client object model to get a list of all (SP) groups the ...