microsoft.public.sharepoint.windowsservices.development
Re: Re: Sharepoint Services 3 UpdateListItems User field
Hey man, thank you very much for the post
it actually helped me out and I felt compelled to reply to this post to reflect my gratitude...
hopefully this link comes up in the google search so that others can use it too...
> On Wednesday, March 28, 2007 6:52 PM dnova wrote:
> I am trying to add to a list in Sharepoint via SPS3 Web Services,
> specifically Lists.asmx. It works fine with everything, text, date,
> choice, boolean, but every time I try to fill in a user field it blows
> up
>
> The operation failed because an unexpected error occurred. (Result
> Code: 0x80020005).
>
> I've tried all the permutation one can make from these attributes:
>
> UserSelectionMode="PeopleOnly" UserSelectionScope="3">MyDomain\MyUser
> Field>
>
> I pulled most of these from the results from the GetList method for
> the list I am trying to add to.
>
> I've also tried user_at_domain, user, "Lastname, Firstname" and several
> others. Any help would be a big plus!
>> On Thursday, April 05, 2007 11:40 AM dnova wrote:
>> On Mar 28, 6:52 pm, dno..._at_gmail.com wrote:
>>
>>
>>
>> OK, I got it. For user / group it wants the ID for the user on that
>> site / site collection. Use _vti_bin/usergroup.asmx and call the
>> GetUserInfo method passing it domain\user. The resulting Xml will
>> have an ID attribute which is what updatelistitems wants. Thanks for
>> the help no one!
>>> On Wednesday, May 23, 2007 3:47 AM Jussi wrote:
>>> If the user does not exist on the site you get a SoapException. Should
>>> I add the new user somehow somewhere before querying for the ID? MOSS
>>> does this somehow when using the People Picker.
>>>
>>> - Jussi
Written by Sam Dash
22/09/2011 17.56.20
Check some pics on this site!
25/05/2012 5.29.21