password.set: Set password of currently identified user

View source: R/configuration_password.R

password.setR Documentation

Set password of currently identified user

Description

if there is an old password, that must be specified if there is no old password, then 'oldpassword' does not need to be defined

Usage

password.set(dMeasure_obj, newpassword, oldpassword = NULL)

Arguments

dMeasure_obj

dMeasure object

newpassword

the new password

oldpassword=NULL

the old password (if one exists)

Value

TRUE if password is successfully set otherwise, stops with error

Examples

## Not run: 
a <- dMeasure::dMeasure$new()
a$open_emr_db()
a$password.set(newpassword = "catsrule", oldpassword = "bluewhale")

## End(Not run)

DavidPatShuiFong/dMeasure documentation built on Aug. 2, 2024, 11:45 p.m.