AddUserToGroup, user added to group, but not inheriting permission

  • 4 December 2018
  • 2 replies
  • 4 views

Badge +10

I am using {Web URL}/_vti_bin/usergroup.asmx and AddUserToGroup to added user to the group in workflow using web service, the user is added successfully to the group. But when I check the permission of the added user, the user doesn't inherit the permission of the group. The group that I added is having edit permission. But if I add the manually the user inherits the permission of the group.


2 replies

Badge +10

Found the issue, when the user added with domain name like  "<domainname><username>" , it does not work.

But when added  with claim based tokens ("i:0#w|<domainname><username>") it worked. SharePoint is considering the above two as two different users.

Badge +4
sojanm, you save me from a headache, only one thing, a dot is missing before w, it must be like "i:0#.w|<domainname>"

Reply