You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
750B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/users.R
  3. \name{add_user_roles}
  4. \alias{add_user_roles}
  5. \title{Add user roles}
  6. \usage{
  7. add_user_roles(admin, pass, id, project, roles,
  8. url = "http://127.0.0.1:9090/i2b2/services/PMService/getServices",
  9. domain = "")
  10. }
  11. \arguments{
  12. \item{admin}{The username to connect with}
  13. \item{pass}{The password for the user}
  14. \item{id}{The id (no spaces, unique) of the new user}
  15. \item{project}{The project to add the user role to}
  16. \item{roles}{A character vector of roles to add}
  17. \item{url}{The URL of the i2b2 cell to communicate with}
  18. \item{domain}{The domain to act on}
  19. }
  20. \value{
  21. The XML return message as an httr::content() object
  22. }
  23. \description{
  24. Add roles to an i2b2 user
  25. }