Share via


SharePoint Provider::UpdateUserInfo

The UpdateUserInfo method updates information for the specified user. 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.

Arguments

Input Arguments Required Description

<userLoginName>

Yes

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

<username>

Yes

A string that contains the display name of the user.

<userEmail>

Yes

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

<userNotes>

Yes

A string that contains notes for the user.

Remarks

No remarks.

Sample Code

Example XML Request

<request> 
    <procedure> 
 
        <execute namespace="WSS Provider" procedure="UpdateUserInfo" 
 
                   impersonate="1"> 
 
            <executeData> 
 
                <target>https://raven003/sites/test</target> 
 
                <loginName>raven00\TestRoleGuy</loginName> 
 
                <name>TestRoleGuy Name2</name> 
 
                <email>TestRoleGuy@frog2.com</email> 
 
                <notes>TestRoleGuy guy notes2</notes> 
 
            </executeData> 
 
        </execute> 
 
    </procedure> 
 
</request> 

Example XML Response

No example XML response.

Typical C# Usage

No typical C# usage.

Applies To

Windows SharePoint Services Provider API for

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0

See also

Tasks

SharePoint Provider::GetUserInfo