> 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.

# companyUserInfo

GraphQL QUERY

This API is deprecated, use 'userEmailCheck' instead.
Get the information of a user.  
Doesn't require a Token.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/queries/company-user-info

## GraphQL Schema

```graphql
query ExampleQuery($storeHash: String!, $email: String!, $customerId: Int) {
  companyUserInfo(storeHash: $storeHash, email: $email, customerId: $customerId) {
    userType
    userInfo {
      id
      firstName
      lastName
      phoneNumber
      role
      companyRoleId
      companyRoleName
      email
      forcePasswordReset
    }
  }
}
```

## Variables

```json
{
  "storeHash": "example",
  "email": "example",
  "customerId": 0
}
```