<h1>GET api/reportserver/v3/users/{userId}/roles</h1>
<div>
<p>
Returns the roles assigned to the user with the specified ID.
</p>

<h2>Request Information</h2>

<h3>URI Parameters</h3>
<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">userId</td>
<td class="parameter-documentation">
<p>The user ID.</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
</tbody>
</table>

<h3>Body Parameters</h3>

<p></p>

<p>None.</p>

<h2>Response Information</h2>

<h3>Resource Description</h3>

<p></p>

Collection of <a href="/dotnet-docs/rest-api/v3/userrole">UserRole</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Id</td>
<td class="parameter-documentation">
<p>
Specifies the role identifier.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Name</td>
<td class="parameter-documentation">
<p>
Specifies the user role name.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Description</td>
<td class="parameter-documentation">
<p>
Specifies the description of the user role.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">IsSystemRole</td>
<td class="parameter-documentation">
<p>
Indicates whether the user role is a system role or not.
</p>
</td>
<td class="parameter-type">
boolean

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">UserIds</td>
<td class="parameter-documentation">
<p>
Returns a list of IDs of users that are assigned to the role.
</p>
</td>
<td class="parameter-type">
Collection of string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
</tbody>
</table>

<h3>Response Formats</h3>
<div>
<h4 class="sample-header">application/json</h4>
<div class="sample-content">

```json
[
  {
    "Id": "eb364d02ae3",
    "Name": "Sales Reports",
    "Description": "A short, descriptive summary shown to users in the Report Server UI.",
    "IsSystemRole": true,
    "UserIds": [
      "e62e3fba88e4491abb625243f2cadd41",
      "a0d45ec5186148f8a5bd9d223c378925"
    ]
  },
  {
    "Id": "da0bba7eea9",
    "Name": "HR Reports",
    "Description": "A short, descriptive summary shown to users in the Report Server UI.",
    "IsSystemRole": true,
    "UserIds": [
      "ddb91f79dc2a44b897edf3df674eb1eb",
      "6b46a9168ff341f38ac80f6353c4172d"
    ]
  }
]
```

</div>
</div>
</div>
