getDatabaseRole | R Documentation |
Helper method to fetch a role based on its id using the database tree or database id.
getDatabaseRole(database, roleId)
database |
database tree using getDatabaseTree or the databaseId |
roleId |
the id of the role. |
## Not run:
# Get the reporting partner role
dbTree <- getDatabaseTree(databaseId = "ck3pqrp9a1z") # fetch the database tree
role <- getDatabaseRole(dbTree, roleId = "rp") # extract the reporting partner role
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.