This action disables a user account within ExtraView. Note that there is no facility to delete a user account. This is to keep referential integrity within the database. Users that you want to disable will have created and/or updated issues and their details are required historically in order to be able to display their information.
Class |
Name |
Type |
Required |
Details |
RemoveUserRequest |
userId |
String |
Yes |
The callers user name |
RemoveUserRequest |
password |
String |
Yes |
The callers password |
RemoveUserRequest |
deleteUserId |
String |
Yes |
The user id you want to delete |
Class |
Name |
Type |
Required |
Details |
RemoveUserResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
RemoveUserResponse |
returnCode |
String |
No |
See Appendix for details |
RemoveUserResponse |
returnMessage |
String |
No |
Human readable message |
public static void testDisableUser(EVUserServiceStub stub) {
try { DisableUserDocument reqEnvelope = DisableUserDocument.Factory.newInstance(); DisableUserRequest request = reqEnvelope.addNewDisableUser().addNewRequest(); request.setRemoveUserId(ServiceClientHelper.generatedUserId); DisableUserResponseDocument resEnvelope = stub.disableUser(reqEnvelope); if (response.getSuccess()) { } catch (Exception e) { |