Edit a user's information.
rt_user_edit( user_id, password = NULL, name = NULL, email_address = NULL, real_name = NULL, organization = NULL, privileged = NULL, disabled = NULL, ... )
(numeric) The ID of the User to edit
(character) The password
(character) Optional. User name
(character) Optional. User email
(character) Optional. User real name
(character) Optional. User organization
(numeric) Optional. User privilege status
(numeric) Optional. User disabled status
Other arguments passed to rt_POST
rt_POST
The ID of the edited user
# 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") # }
Run the code above in your browser using DataCamp Workspace