rt_user_edit {rt} | R Documentation |
Edit a user
Description
Edit a user's information.
Usage
rt_user_edit(
user_id,
password = NULL,
name = NULL,
email_address = NULL,
real_name = NULL,
organization = NULL,
privileged = NULL,
disabled = NULL,
...
)
Arguments
user_id |
(numeric) The ID of the User to edit |
password |
(character) The password |
name |
(character) Optional. User name |
email_address |
(character) Optional. User email |
real_name |
(character) Optional. User real name |
organization |
(character) Optional. User organization |
privileged |
(numeric) Optional. User privilege status |
disabled |
(numeric) Optional. User disabled status |
... |
Other arguments passed to |
Value
The ID of the edited user
Examples
## Not run:
# First, create a user
user_id <- rt_user_create("Example", "password", "me@example.com")
# Then we can edit it
rt_user_edit(user_id, real_name = "Example User")
## End(Not run)
[Package rt version 1.1.0 Index]