4.7 Change Password

To change password for a user on Bayun, use changePassword function.

The function takes the following parameters :

  • sessionId : Unique SessionId which is received in the login function response.

    • dataType : std::string

  • currentPassword : Current Password.

    • dataType : std::string

  • newPassword : New Password.

    • dataType : std::string

#include "BayunCore.h"

Bayun::ShChangePasswordResponse response = bayunCore->changePassword("<sessionId>", "<currentPassword>", "<newPassword>");

Last updated

Was this helpful?