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
- listId
Type: System..::.Guid
The List identifier.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.