This action gets all the possible roles available to all users within the ExtraView database.
Class |
Name |
Type |
Required |
Details |
GetAllUserRolesRequest |
userId |
String |
Yes |
The callers user name |
GetAllUserRolesRequest |
password |
String |
Yes |
The callers password |
Class |
Name |
Type |
Required |
Details |
GetAllUserRolesResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
GetAllUserRolesResponse |
returnCode |
String |
No |
See Appendix for details |
GetAllUserRolesResponse |
returnMessage |
String |
No |
Human readable message |
GetAllUserRolesResponse |
roles |
Array[] |
No |
A list of RoleBeans |
Role |
roleId |
String |
Yes |
|
Role |
currentRole |
boolean |
Yes |
|
Role |
roleName |
String |
Yes |
|
public static void testGetUserRolesByUser(EVUserServiceStub stub) {
try { GetAllUserRolesDocument reqEnvelope = GetAllUserRolesDocument.Factory.newInstance(); GetAllUserRolesRequest request = reqEnvelope.addNewGetAllUserRoles().addNewRequest(); request.setUserId(ServiceClientHelper.ADMIN_USER_ID); GetAllUserRolesResponseDocument resEnvelope = if (response.getSuccess()) { } catch (Exception e) { |