> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.credal.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.credal.com/_mcp/server.

# currentUser

GraphQL QUERY

Returns the currently logged in user.

Reference: https://docs.credal.com/api-reference/queries/current-user

## GraphQL Schema

```graphql
query ExampleQuery {
  currentUser {
    id
    dateCreated
    activeOrganization {
      id
      dateCreated
      owner
      actorPermissions
      currentAllowedActions
      defaultMemberRole
      remediation
      auditLogEventsConnection
      agentsConnection
      groupsConnection
    }
    email
    emailVerified
    firstName
    lastName
    profilePictureUrl
  }
}
```