
<h1 class="has-pills">
  Viewer
  <span data-algolia-exclude><span class="pill pill--object pill--normal-case pill--large"><code>OBJECT</code></span></span>
</h1>

Represents the current user session



| `authorizations` `AuthorizationConnection` Arguments `after` `String` Returns the elements in the list that come after the specified cursor. |
| --- |
| `before` `String` Returns the elements in the list that come before the specified cursor. |
| `first` `Int` Returns the first _n_ elements from the list. |
| `last` `Int` Returns the last _n_ elements from the list. |
| `type` `[AuthorizationType!]` |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>builds</code><a href="/docs/apis/graphql/schemas/object/buildconnection" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT BuildConnection"><code>BuildConnection</code></a></h3><div><details><summary>Arguments</summary>

| `branch` `String` |
| --- |
| `first` `Int` |
| `last` `Int` |
| `metaData` `[String!]` |
| `state` `[BuildStates!]` |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>emails</code><a href="/docs/apis/graphql/schemas/object/emailconnection" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT EmailConnection"><code>EmailConnection</code></a></h3><p>Emails associated with the current user</p><div><details><summary>Arguments</summary>

| `after` `String` Returns the elements in the list that come after the specified cursor. |
| --- |
| `before` `String` Returns the elements in the list that come before the specified cursor. |
| `first` `Int` Returns the first _n_ elements from the list. |
| `last` `Int` Returns the last _n_ elements from the list. |
| `verified` `Boolean` Filter by whether the email is verified or not |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>id</code><a href="/docs/apis/graphql/schemas/scalar/id" class="pill pill--scalar pill--normal-case pill--medium" title="Go to SCALAR ID"><code>ID!</code></a></h3><p>The ID of the current user</p></td></tr><tr><td><h3 class="is-small has-pills"><code>notice</code><a href="/docs/apis/graphql/schemas/object/notice" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Notice"><code>Notice</code></a></h3><div><details><summary>Arguments</summary>

| `namespace` `NoticeNamespaces!` |
| --- |
| `scope` `String!` |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>organizations</code><a href="/docs/apis/graphql/schemas/object/organizationconnection" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT OrganizationConnection"><code>OrganizationConnection</code></a></h3><div><details><summary>Arguments</summary>

| `first` `Int` |
| --- |
| `last` `Int` |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>permissions</code><a href="/docs/apis/graphql/schemas/object/viewerpermissions" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT ViewerPermissions"><code>ViewerPermissions!</code></a></h3><p>The current user's permissions</p></td></tr><tr><td><h3 class="is-small has-pills"><code>totp</code><a href="/docs/apis/graphql/schemas/object/totp" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT TOTP"><code>TOTP</code></a></h3><p>The user's active TOTP configuration, if any.  This field is private, requires an escalated session, and cannot be accessed via the public GraphQL API.</p><div><details><summary>Arguments</summary>

| `id` `ID` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>user</code><a href="/docs/apis/graphql/schemas/object/user" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT User"><code>User</code></a></h3><p>The current user</p></td></tr>
  </tbody>
</table>

<h2 data-algolia-exclude>Interfaces</h2>
<div>
  <a href="/docs/apis/graphql/schemas/interface/node" class="pill pill--interface pill--normal-case pill--large" title="Go to INTERFACE Node">
  <code>Node</code>
</a>

</div>
