---
title: "GET /userprofiles/{userprofilesId}/userRolePermissions"
method: GET
path: "/userprofiles/{userprofilesId}/userRolePermissions"
tags: ["userRolePermissions"]
---

# GET /userprofiles/{userprofilesId}/userRolePermissions

`GET /userprofiles/{userprofilesId}/userRolePermissions`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/userRolePermissions`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/dfatrafficking`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dfatrafficking`
- TypeScript: <https://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/userRolePermissions/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a list of user role permissions, possibly filtered.

## Path parameters

- `userprofilesId` string, required

## Query parameters

- `ids` string[]

## Response `200`

Successful response

- UserRolePermissionsListResponse: User Role Permission List Response
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionsListResponse".
  - `userRolePermissions` UserRolePermission[]: User role permission collection.
    - `availability` 'NOT_AVAILABLE_BY_DEFAULT' | 'ACCOUNT_BY_DEFAULT' | 'SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT' | 'ACCOUNT_ALWAYS' | 'SUBACCOUNT_AND_ACCOUNT_ALWAYS' | 'USER_PROFILE_ONLY': Levels of availability for a user role permission.
    - `id` string, int64: ID of this user role permission.
    - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
    - `name` string: Name of this user role permission.
    - `permissionGroupId` string, int64: ID of the permission group that this user role permission belongs to.

---

[API](https://skmtc.dev/google/apis/dfareporting.md) - [All operations](https://skmtc.dev/google/apis/dfareporting/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dfareporting/revisions/be73a9a450de?raw)
