# UserContextManager

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/callbacks/llmonitor_callback/UserContextManager)

Context manager for LLMonitor user context.

## Signature

```python
UserContextManager(
    self,
    user_id: str,
    user_props: Any = None,
)
```

## Constructors

```python
__init__(
    self,
    user_id: str,
    user_props: Any = None,
) -> None
```

| Name | Type |
|------|------|
| `user_id` | `str` |
| `user_props` | `Any` |


---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/callbacks/llmonitor_callback.py#L42)