> This page is for Developer.

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

# CurrentUser

GraphQL object

The authenticated shopper's own company-scoped user data.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/objects/current-user

## Fields

- `extraFields` — Extra-field values defined for the current user.
- `companyRole` — The name of the company role assigned to the current user.

## Definition

```graphql
type CurrentUser {
  extraFields: [ExtraFieldValue!]!
  companyRole: String!
}
```