client.permission_sets.list_resources_shares
A method of the Permission Sets endpoint.
- list_resources_shares(id: int, name: str) → ListResponse
List users and groups permissioned on this object
API URL:
GET /permission_sets/{id}/resources/{name}/sharesimport civis client = civis.APIClient() response = client.permission_sets.list_resources_shares(...)
- Parameters:
- idint
The ID for this permission set.
- namestr
The name of this resource.
- Returns:
civis.ListResponse- readers
civis.Response - usersList[
civis.Response] id : int
name : str
- usersList[
- groupsList[
civis.Response] id : int
name : str
- groupsList[
- readers
- writers
civis.Response - usersList[
civis.Response] id : int
name : str
- usersList[
- groupsList[
civis.Response] id : int
name : str
- groupsList[
- writers
- owners
civis.Response - usersList[
civis.Response] id : int
name : str
- usersList[
- groupsList[
civis.Response] id : int
name : str
- groupsList[
- owners
- total_user_sharesint
For owners, the number of total users shared. For writers and readers, the number of visible users shared.
- total_group_sharesint
For owners, the number of total groups shared. For writers and readers, the number of visible groups shared.