Permissions required for GetUserCollectionFromGroup in UserGroup.asmx


  • I'm getting a 401: Unauthorized error when calling GetUserCollectionFromGroup inside an ASP.NET, connecting with default credentials (i.e. as myself) to a Sharepoint 2007 instance.  I'm a collection administrator on the target site, and I've tried turning on "Everyone can view" in the group settings.  I can go into sharepoint and view the group member lists, and I can successfully call GetUserCollectionFromSite through the same app & connection where FromGroup is failing.

    Is there some other level of access required for this method to work?

    14. června 2012 19:28


Všechny reakce

  • Site administrator access is required to access the data from GetUserCollectionFromGroup  try adding the userid in site owners group.

    Best Regards, Ashutosh | SharePoint World

    • Označen jako odpověď drlloyd 18. června 2012 15:28
    15. června 2012 11:35
  • Added myself to the site owners group and I'm still unauthorized.  I've also tried directly adding myself as a member of the group I'm attempting to access - no luck there either.

    15. června 2012 13:09
  • Er... I'd hard-coded a default URL into a textbox just for convenience during testing... and it was the wrong URL.  It works when I point it to the right place!  :)

    18. června 2012 15:30