Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6362939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:58:20+00:00 2026-05-24T23:58:20+00:00

I am using /_vti_bin/usergroup.asmx service and getting the userinfo using GetAllUserCollectionFromWeb(). But i need

  • 0

I am using /_vti_bin/usergroup.asmx service and getting the userinfo using GetAllUserCollectionFromWeb(). But i need to pass in the specific site and need to get the users info of that site alone. Which sharepoint service to use? How to get that?

Thanx in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:58:21+00:00Added an answer on May 24, 2026 at 11:58 pm

    There are 3 methods available for getting users from web or site collection:

    • GetAllUserCollectionFromWeb – Returns information about the collection of users for the current Web site.
    • GetUserCollectionFromSite – Returns information about the
      collection of users for the current site collection.
    • GetUserCollectionFromWeb – Returns information about the
      collection of users for the current Web site. (let me guess, it will only return users explicitly assigned permissions to that web ONLY, but you check it yourself)

    Alternatively, in code, there are also 3 properties: AllUsers, SiteUsers and Users. I haven’t worked with this particular webservice, but i think (i hope) that the webservice methods should do exactly the same. As someone explains in his blog post:

    SPWeb.AllUsers – Gets the collection of user objects that represents
    all users who are either members of the site or who have browsed to
    the site as authenticated members of a domain group in the site

    SPWeb.SiteUsers – Gets the collection of all users that belong to the
    site collection

    SPWeb.Users – Gets the collection of user objects that are explicitly
    assigned permissions on the Web site

    To get users explicitly for a web that has url http://sharepointserver/web/subweb call webservice from url http://sharepointserver/web/subweb/_vti_bin/usergroup.asmx If you want to use webservice in context of another web, then use that web’s url and append /_vti_bin/usergroup.asmx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can copy a file up to the Sharepoint archive using: _vti_bin/Copy.asmx.CopyIntoItems but if
How do I solve the error: Unable to read WSDL from URL: https://workflowtest.site.edu/_vti_bin/Lists.asmx?WSDL .
I'm using the sharepoint's web service (GetListItems) method to get some fields data for
Using the C# Facebook SDK 5.0.3 everything works fine whit the client.Get(/me). But when
I can access a decent amount of profile information using https://mysite/_vti_bin/ListData.svc/UserInformationList but I don't
I am getting an SPList values as xml using the following code. http://site1/_vti_bin/owssvr.dll?Cmd=Display&List= {listGuid}&Query=*&XMLDATA=TRUE
Using C#, I need a class called User that has a username, password, active
On a standard SP 2010 server, I want to get the currents users quicklinks
Using the navigator.geolocation object in JavaScript. Trying to establish accurate ranges, but wondering exactly
Using android 2.3.3, I have a background Service which has a socket connection. There's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.