changeUsername()

void changeUsername(string usn, string username)

This method changes the username of a subscription.

Parameters

usn
Format: string
Purpose: Specifies the USN of the subscription to update.
username
Format: string
Purpose: Specifies the new username.

Results

This method does not return a result for a successful update. An exception will be generated if the change attempt fails.

Smile emits the SubscriptionUpdated message after the username has been updated.

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.ChangeUsername usn username
usn
Purpose: Specifies the USN of the subscription to update.
username
Purpose: Specifies the new username.
Note: For more information about the Java client and the options it accepts, see Java client syntax.