Skip to main content

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.

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.


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