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


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.

|improve this answer|||||
  • 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). – Angie Heimerlake Jun 4 '12 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 – Stefan Bauer Jun 4 '12 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.