updateRoleName

In updateRoleName, the parameter oldRole has the type WSRole, and the parameter newName has the type String. They both return type WSRole.

To update a role with a call to oldRole:

WSRole oldRole= new WSRole();
role.setRoleName("ROLE_WS");
role.setTenantId("organization_1");
WSRole value = binding.updateRoleName(oldRole, “ROLE_WEB_SERVICE”);

To rename the role with a call to newName: "ROLE_WEB_SERVICE". The return for an updated role:

String getRoleName()
String getTenantId()
WSUser[] getUsers()
String getUsername()
String getFullName()
String getPassword()
String getEmailAddress()
Boolean getExternallyDefined()
Boolean getEnabled()
Date getPreviousPasswordChangeTime()
String getTenantId()
WSRole[] getRoles()
Version: 
Feedback
randomness