ndex_user_mail_password: Email New Password

Description Usage Arguments Value REST query Note Examples

View source: R/ndex_users.R

Description

Causes a new password to be generated for the given user account and then emailed to the user's emailAddress

Usage

1
ndex_user_mail_password(ndexcon, userId)

Arguments

ndexcon

object of class NDExConnection linkndex_connect

userId

character; unique ID of the user

Value

Empty string on success, else error

REST query

GET: ndex_config$api$user$password$mail

Note

Compatible to NDEx server version 2.0

Examples

1
2
3
4
5
6
7
8
## Establish a server connection
# ndexcon = ndex_connect()
## Find user and get its id
# user = ndex_find_user_byName(ndexcon, 'SomeUserName')
# userId = user$externalId
## Request new password via email
# ndex_user_mail_password(ndexcon, userId)
NULL

ndexr documentation built on March 13, 2021, 2 a.m.