Description Usage Arguments Value REST query Note Examples
Verify the given user with UUID and verification code, which is set by email
1 | 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
1 2 3 4 5 6 7 8 9 | ## 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.