See the API docs for details on how to encrypt the password.
ol_user_pwd_sha256_salt(con, user_id, password, password_confirmation, password_algorithm = "salt+sha256", password_salt = "")
a 'OneLogin' connection
user id
character, new password
algorithm, defaults to "salt+sha256"
defaults to ""
# NOT RUN { if (interactive()) ol_user_pwd_sha256_salt(onelogin(), 54963040, safer::encrypt_string("saltpwd"), safer::encrypt_string("saltpwd"), password_salt = "salt") # }
Run the code above in your browser using DataLab