Description Usage Arguments Value REST query Note Examples
Changes the authenticated user's password to the new password
1 | 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
1 2 3 4 5 6 7 8 | ## 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.