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

I am using Lists.asmx's GetListItems method, then I'm using info from UserGroup.asmx's GetAllUserCollectionFromWeb method to get more user details about a person in one of the columns of the list.

I was alarmed to find that many of the items I get from GetListItems have a person that is not listed in the result of calling GetAllUserCollectionFromWeb.

Why would this happen and how do I fix it, or should I be using something other than GetAllUserCollectionFromWeb as a definitive list of all people who might be stored in a person column of that list?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Rather than call GetAllUserCollectionFromWeb, get the list items for "UserInfo":

GetListItems("UserInfo", null, null, null, "100000", null, null);
share|improve this answer
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.