# How does Streams Manager know that a user is active or expired?

Streams Manager determines whether a user is active or expired based on the user type and whether they have a payment that is still active. If a user is permanent, it is by default active and they never expire. If a user is non-permanent, then they must have a payment where the current date/time must be between the start and end dates (from or to) of the payment. If a user is expired, they will be removed from the Plex server during the next synchronization run (runs every hour).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://streamsmanager.gitbook.io/streams-manager/faq/how-does-streams-manager-know-that-a-user-is-active-or-expired.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
