In putUser, the parameter user has the type WSUser and returns type WSUser.
putUser updates an existing object; if the specified user does not exist, a new one is created.
Note
Before adding users and roles, note that there is a server-side configuration which specifies the default roles that a new user can receive. See the JasperReports Server Administrator Guide for details
To call putUser:
WSUser user = new WSUser();
user.setUsername("john");
user.setTenantId("organization_1");
user.setEnabled(true);
user.setFullName("John Doe");
WSRole role = new WSRole();
role.setRoleName("ROLE_ANONYMOUS");
role.setTenantId(null);
user.setRoles(new WSRole[] {role});
WSUser value = binding.putUser(user);