# Groups

User groups allow more specific access control and allow a user to be associated with multiple groups. This is useful when organizations access requirements overlap and only a sub group of users in an organization need access to a server. To use user groups first associate users with groups then associate the same groups to a server. Then attach the organization to the server. Once done only users in a group associated with the server will be allowed to connect. If a user is not in one of the servers groups or the user is not in any groups the user will not be able to connect to the server.


---

# 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://docs.pritunl.com/kb/vpn/users/groups.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.
