UserProfileService.ModifyUserPropertyByAccountName method

Modifies a user profile property for the specified account name.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/ModifyUserPropertyByAccountName", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void ModifyUserPropertyByAccountName(
	string accountName,
	PropertyData[] newData
)

Parameters

accountName
Type: System.String

The account name of the user.

newData
Type: []

The new property name and values.

ExceptionCondition
SoapException

The properties for the user profile in newData cannot be changed or the user profile cannot be accessed.

This method modifies the editable user profile properties with the new values for the specified account name.

Show: