AnsweredAssumed Answered

Add User to Group Programatically but the User can't Authenticate

Question asked by rclark88 on Oct 1, 2014
Latest reply on Jul 7, 2016 by jsirkis

Hello,

 

I am using the UserGroup.asmx webservice to add a user to a SharePoint site group. I am able to execute the webservice call directly, but when I try to access the site using the user I just granted it access to, I cannot view the site. However, If I go directly into SharePoint and add the user to the same group, then another entry is added to that permissions group for that user. Then if noticed that I can access the site.

 

Is there something I'm doing wrong? It's as if there are two user accounts when there should be one? How do I access the same one that doing it through the SharePoint UI provides? I'm simply using domain\username in the web service call.

Outcomes