Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
    
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. –  Maria Burton Jun 4 '12 at 19:51
    
could you paste in the error message as part of the post? –  Anders Rask Jun 4 '12 at 20:21
    
Here is the error ... filefactory.com/file/1kd33bcgxb0n/n/WebServiceError_txt –  Angie Heimerlake Jun 6 '12 at 14:12
add comment

1 Answer

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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