SharePoint2007Provider::UpdateUserInfo

This procedure updates information for the specified user.

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<siteGUID>

Yes

The globally unique identifier (GUID) of Windows SharePoint Services site collection.

<subSiteGUID>

Yes

The GUID of subsite.

<loginName>

Yes

A string that specifies the user name (DOMAIN\User_Alias) of the user whose information is updated.

<name>

Yes

A string that contains the display name of the user.

<email>

Yes

A string that contains the e-mail address of the user.

<notes>

Yes

A string that contains notes for the user

Remarks

The underlying Windows SharePoint Services API does not provide a mechanism for updating any subset of these parameters, so all of them must be supplied. This method supports rollback.

Sample Code

Example XML Request

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="UpdateUserInfo" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>29add3c7-5d19-41f8-a409-4abc3cdd1ac6</siteGUID> 
            <subSiteGUID>e3f0f377-f966-4504-8d33-d9055f38b0f5</subSiteGUID> 
            <loginName>Fabrikam\SPNSUser</loginName> 
            <name>SPNSUserNew</name> 
            <email>SPNSUserNew@Fabrikam.Com</email> 
            <notes>UpdateUserInfo Test.</notes> 
         </executeData> 
      </execute> 
   </procedure> 
</request>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::GetUserInfo