1

I am unable to add users to the group using custom button and SPServices,only site administrators can only able to add the users to the group.can any one help me how to add the run with elevated privileges spservices

2 Answers 2

3

You cannot do impersonation or permission elevation in Client side object model.

Please refer below mentioned links

Elevating Permissions with SharePoint’s Web Services

Elevating privileges using spservices

0

The SPServices library is only allowing you to do what is available through the web services.

A workaround, but not really recommended, would be to create a custom permission level that granted the ability to manage permissions and add users into this group. That would allow them to then execute your code.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.