This action creates a new user role and user mapping within ExtraView.
Class |
Name |
Type |
Required |
Details |
InsertUserRoleRequest |
userId |
String |
Yes |
The callers user name |
InsertUserRoleRequest |
password |
String |
Yes |
The callers password |
InsertUserRoleRequest |
roleId |
String |
Yes |
Therole id you want to add the user too |
InsertUserRoleRequest |
roleUserId |
String |
Yes |
The user id you want to insert in the role |
Class |
Name |
Type |
Required |
Details |
InsertUserRoleResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
InsertUserRoleResponse |
returnCode |
String |
No |
See Appendix for details |
InsertUserRoleResponse |
returnMessage |
String |
No |
Human readable message |
public static void testInsertUserRole(EVUserServiceStub stub) {
try { InsertUserRoleDocument reqEnvelope = InsertUserRoleDocument .Factory .newInstance(); InsertUserRoleRequest request = reqEnvelope .addNewInsertUserRole() .addNewParam0(); request.setUserId( InsertUserRoleResponseDocument resEnvelope = if (response.getSuccess()) { } catch (Exception e) { |