ndex_verify_user {ndexr} | R Documentation |
Verify the given user with UUID and verification code, which is set by email
ndex_verify_user(ndexcon, userId, code)
ndexcon |
object of class NDExConnection linkndex_connect |
userId |
character; unique ID of the user |
code |
character; Verification code sent by email |
string "User account XXX has been activated." when this user's account is successfully activated.
GET: ndex_config$api$user$verify
Compatible to NDEx server version 2.0
## Establish a server connection # ndexcon = ndex_connect() ## Find user and get its id # user = ndex_find_user_byName(ndexcon, 'SomeUserName') # userId = user$externalId ## Verify user with verification code # ndex_verify_user(ndexcon, userId, 'Osqy11mRZ9') ## [1] "User account XXX has been activated." NULL