Description Usage Arguments Details Value
Given a username, password and database, the corresponding user is updated with extra information provided as function arguments:
1 | update_user(username, database, current_password, ...)
|
username |
the username |
database |
the database |
current_password |
the password |
"key"the redcap key
"active"is user active
"role"what is user role
The following fields can't be updated for security purposes:
username
passwd_hash
validation_hash
password
key
created_at
role
active
the update user or NULL if it fails
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.