Share via


UpdateUserInList Method

Updates the user information in a list.

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub UpdateUserInList ( _
    listId As Guid, _
    user As MailingListUserData _
)
'Usage
Dim instance As MarketingWebService
Dim listId As Guid
Dim user As MailingListUserData

instance.UpdateUserInList(listId, user)
[WebMethodAttribute]
public virtual void UpdateUserInList(
    Guid listId,
    MailingListUserData user
)
[WebMethodAttribute]
public:
virtual void UpdateUserInList(
    Guid listId, 
    MailingListUserData^ user
)
public function UpdateUserInList(
    listId : Guid, 
    user : MailingListUserData
)

Parameters

  • user
    Type: MailingListUserData
    The updated user information.

Exceptions

Exception Condition
EntityDoesNotExistException

The user being updated does not exist.

DuplicateEntityIdException

user does not exist in list.

EntityStateException

listId is not available, or expression list.

ArgumentNullException

An input argument or one of the required properties is nullNothingnullptra null reference (Nothing in Visual Basic).

StringLengthValidationException

One if the property values is too long or too short.

DatabaseIntegrityException

A serious integrity issue with the database exists.

Remarks

The List will be updated with the revised user information.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace