Invites users to a space.
space_member_add(space, users, ...)
# S3 method for character
space_member_add(
space,
users,
email_invite = TRUE,
email_message = NULL,
space_role = "contributor",
...
)
# S3 method for data.frame
space_member_add(space, users, ...)
A space object created using rscloud_space()
.
Email address of the user to add or a data frame of user information.
Additional arguments.
Indicates whether an email should be sent to the user with the invite, TRUE
by default
Message to be sent to the user should the email_invite
flag be set to TRUE
Desired role for the user in the space
The users
input should be a data frame consisting of the columns "user_email",
"email_invite", "email_message", and "space_role". Each row of the users
data frame
denotes one user to be added. If any of these properties are specified in ...
, they
will take precendence and a message printed.