AnsweredAssumed Answered

Java set password for user

Question asked by TimRiedel607946 on Jul 25, 2016
Latest reply on Jul 25, 2016 by TimRiedel607946
Hello,

I'm currently try to find out how to change the password of an user in UC4 via the Java API. From other posts I could get the information that I have to use the class user, get the attributes and then call the setPassword function, but i can't get it working ...


My (Pseudo-) code:
  OpenObject o  = new OpenObject(Username);
  sendRequestAndWait(o);

  User user = (User) o.getUC4Object();
  user.attributes().setPassword(newPW);


I think I have to send the informations to the UC4 system again, but don't know how and haven't found something about that ... Sorry for this question, but I'm really new to this topic ...

Thanks for your help

Tim

Outcomes