add_user_to_role | R Documentation |
Add a user to a role Run only with operator or admin privileges. Admin privileges required to grant operator or admin privileges.
add_user_to_role(
pkg_schema,
con,
user_name,
role,
add_to_inferior_roles = TRUE
)
user_name |
username of user to add to role |
role |
name of role to add user to. See show_roles |
add_to_inferior_roles |
if TRUE (default), also add user to any roles with lesser level than the specified role. See show_roles |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.