Learn R Programming

polished (version 0.8.1)

get_user_roles: Polished API - Get User Role(s)

Description

Polished API - Get User Role(s)

Usage

get_user_roles(user_uid = NULL, role_uid = NULL, api_key = get_api_key())

Value

an object of class polished_api_res. The "content" of the object is a tibble of users(s) with the following columns:

  • role_uid

  • role_name,

  • user_uid,

  • user_name,

  • created_at

Arguments

user_uid

an optional user uid.

role_uid

an optional role uid.

api_key

your Polished API key. Set your polished api key using set_api_key() so that you do not need to supply this argument with each function call.

See Also

add_user_role() delete_user_role()