SOAP API - UpdateUserOwner
UpdateUserOwner( username, ownerUserName ) : void
Since: EngageIP v25.2
Changes a User Owner or throws exception if the user does not exist, the owner does not exist or if the user cannot belong to the specified owner.
This option allows you to change owners from one unbranded owner to another under the same branded owner. You cannot switch an account from one branded owner to another, the option in that case is to cancel the initial account, and re-create the account under the new branded owner as needed.
Parameters:
username (String) - The username of the user to update. If the username does not exist an exception will be thrown.
ownerUserName (String) - Username of the target user to become the specified user's owner. If the owner does not exist an exception will be thrown
Possible Exceptions:
INVALID USERNAME
INVALID OWNER
UNABLE TO ASSIGN
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /adminportal/webservice.asmx HTTP/1.1
Host: demo.logisense.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<AuthHeader xmlns="Logisense_EngageIP">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<UpdateUserOwner xmlns="Logisense_EngageIP">
<username>string</username>
<ownerUserName>string</ownerUserName>
</UpdateUserOwner>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateUserOwnerResponse xmlns="Logisense_EngageIP" />
</soap12:Body>
</soap12:Envelope>
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /adminportal/webservice.asmx HTTP/1.1
Host: demo.logisense.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Logisense_EngageIP/UpdateUserOwner"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthHeader xmlns="Logisense_EngageIP">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<UpdateUserOwner xmlns="Logisense_EngageIP">
<username>string</username>
<ownerUserName>string</ownerUserName>
</UpdateUserOwner>
</soap:Body>
</soap:Envelope>