AssureSign: DeleteUser

  • 11 January 2022
  • 0 replies
  • 12 views

Userlevel 5
Badge +19

The DeleteUser operation is used to remove an AssureSign user. This operation requires an AuthenticationToken returned from AuthenticateUser, which in turn requires passing of an active AssureSign username and password.

The DeleteUser operation requires knowledge of the following:

  • the AssureSign account ContextIdentifier the user belongs to (this is exposed in the AssureSign administrative application account settings). The ContextIdentifier is in the form of a global unique identifier (GUID).
  • an AuthenticationToken, returned from a successful call to AuthenticateUser
  • the UserName of the user to be deleted, which is an email address

 

Sample XML

<?xml version="1.0" encoding="utf-8"?> 
<DeleteUser xmlns="https://www.assuresign.net/Services/DocumentNOW/Users">
<Request ContextIdentifier="06C4A84A-693C-46CB-8DF2-40A8215AA056" AuthenticationToken="[authentication token]" UserName="jdoe@example.com" />
</DeleteUser>

The SOAP Action header is

https://www.assuresign.net/Services/DocumentNOW/Users/IUserService/DeleteUser

The returned result will include:

  • Success flag indicating whether or not the user was deleted successfully

The DeleteUserResult should be checked for the presence of an Exceptions element, which may contain multiple UserException items.

Sample XML response is presented here:

<?xml version="1.0" encoding="utf-8"?> 
<DeleteUserResponse xmlns="https://www.assuresign.net/Services/DocumentNOW/Users">
<DeleteUserResult Success="true">
<Exceptions />
</DeleteUserResult>
</DeleteUserResponse>

0 replies

Be the first to reply!

Reply