I am a MS CRM Developer. I am writing a plugin in CRM. We have an on premises deployment of SharePoint and CRM. In my plugin my requirement is:-

  1. I have login name of user, I want to check whether users is an existing user of SharePoint, if not add it.
  2. I have the Group Name of SharePoint, I want to add the above user to that Group.
  • I am new to sharepoint. I would be grateful if someone can guide in how I will write code for sharepoint. Mar 23, 2015 at 17:00

1 Answer 1


You can use SharePoint web services.


First you should get all users from the group and check if user exists or not and then use AddUserToGroup

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.