ndex_user_change_password | R Documentation |
Changes the authenticated user's password to the new password
ndex_user_change_password(ndexcon, userId, password)
ndexcon |
object of class NDExConnection linkndex_connect |
userId |
character; unique ID of the user |
password |
character; New password |
Empty string on success, else error
GET: ndex_config$api$user$password$change
Requires an authorized user! (ndex_connect with credentials)
Compatible to NDEx server version 2.0
## Establish a server connection with credentials
# ndexcon = ndex_connect('MyAccountName', 'MyPassword')
## Find user and get its id
# user = ndex_find_user_byName(ndexcon, 'SomeUserName')
# userId = user$externalId
## Change user password
# ndex_user_change_password(ndexcon, userId, 'SuperSaveNewPassword')
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.