This action sets the role of the current user.
Class |
Name |
Type |
Required |
Details |
SetCurrentUserRoleRequest |
userId |
String |
Yes |
The callers user name |
SetCurrentUserRoleRequest |
password |
String |
Yes |
The callers password |
SetCurrentUserRoleRequest |
roleId |
String |
Yes |
The new current user role id |
Class |
Name |
Type |
Required |
Details |
SetCurrentUserRoleResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
SetCurrentUserRoleResponse |
returnCode |
String |
No |
See Appendix for details |
SetCurrentUserRoleResponse |
returnMessage |
String |
No |
Human readable message |
public static void testUpdateUserRole(EVUserServiceStub stub) {
try { GetUserRolesResponse userRoleResponse = getUserRoles(stub); if (userRoleResponse.getSuccess()) { SetCurrentUserRoleResponseDocument resEnvelope if (response.getSuccess()) { } catch (Exception e) { |