0

Are there any big difference between built in groups (like, approvers, designer, Site Collection Resources members, owners, etc.) and custom groups (like I created using SP gui. Sales-Marketing, Sales-Approvers, Sales-VP)

I have "Anyone can view this group checked". I am trying to get all the users in a group so I am using this web services _vti_bin/UserGroup.asmx and GetUserCollectionFromGroup method. When I use Approvers or other build in group it works. If I use a custom group then I get error.

Please suggest.

Thanks enter image description here

enter image description here

3
  • I have at least 4 different post on this topic with exactly same issue. I just used the web services tool to verify your issue and you are 100%. I am getting result. I truly wish to find an answer this time. Commented Jun 4, 2012 at 19:51
  • could you paste in the error message as part of the post? Commented Jun 4, 2012 at 20:21
  • Here is the error ... filefactory.com/file/1kd33bcgxb0n/n/WebServiceError_txt Commented Jun 6, 2012 at 14:12

1 Answer 1

1

In general there is no difference between built-in and SharePoint Groups. Are you able to view group members with the same account using the SharePoint User Interface? What is the requirement to use the web service. In general when you try to create code that runs on a web server you should use the object model or from remote you could use the client object model.

2
  • I need to hide columns in the form based on Groups. so using the webservice in the infopath form to hide or show columns based on sp group. (Yes, I am able to view the same groups in IE or Chrome using the same account). Commented Jun 4, 2012 at 20:17
  • To check if a user is in a group is to user the userprofile service. The following article describes how you an check if a user is member of a group projectpoint.at/?p=97 Commented Jun 4, 2012 at 20:26

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.