# isStudioUser

> **Function** in `@langchain/langgraph-sdk`

📖 [View in docs](https://reference.langchain.com/javascript/langchain-langgraph-sdk/auth/isStudioUser)

Check if the provided user was provided by LangGraph Studio.

By default, if you add custom authorization on your resources, this will also apply to interactions made from the Studio.
If you want, you can handle logged-in Studio users in a special way.

## Signature

```javascript
isStudioUser(user: BaseUser): boolean
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `user` | `BaseUser` | Yes | The user to check |

## Returns

`boolean`

True if the user is a studio user, false otherwise

---

[View source on GitHub](https://github.com/langchain-ai/langgraphjs/blob/dc37d3cd62bf88272cdc874e37354ae83ac01660/libs/sdk/src/auth/index.ts#L51)