> For the complete documentation index, see [llms.txt](https://guide.cryosparc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.cryosparc.com/setup-configuration-and-management/software-system-guides/guide-lane-assignments-and-restrictions.md).

# Guide: Lane Assignments and Restrictions

{% hint style="warning" %}
The information in this section applies to CryoSPARC v4.1+.
{% endhint %}

## Lane Assignments and Restrictions

CryoSPARC users can be assigned access to specific lanes in the CryoSPARC scheduler. Having access to a lane means that the user can queue jobs to the lane and use its resources. Users not assigned to a lane do not have access to it and cannot queue jobs on that lane. By default, when a CryoSPARC user is created, they will be assigned all existing lanes. Similarly, when a new lane is added, all users will be assigned to that lane.

A user’s lane assignments can be viewed and modified using the “Lane Restrictions” tab of the admin panel in the UI.

<figure><img src="/files/DEZW1nzJdz8HXmx6dHKs" alt=""><figcaption></figcaption></figure>

Lanes can be assigned/unassigned for each user by checking the boxes next to the lane names and clicking the transfer arrow in the corresponding direction.

To get a user's lane assignments using the CLI:

{% tabs %}
{% tab title="v5" %}

```python
$ cryosparcm cli "api.users.get_lanes('user123@structura.bio')"
['cryoem1', 'cryoem2', 'cryoem3']
```

{% endtab %}

{% tab title="v4" %}

```javascript
$ cryosparcm cli "get_user_lanes('user123@structura.bio')"
['cryoem1', 'cryoem2', 'cryoem3']
```

{% endtab %}
{% endtabs %}

To modify a user’s lane assignments using the CLI:

{% tabs %}
{% tab title="V5" %}

```javascript
$ cryosparcm cli "api.users.set_lanes('user123@structura.bio', ['cryoem1'])"
```

{% endtab %}

{% tab title="V4" %}

```python
$ cryosparcm cli "set_user_lanes('user123@structura.bio', ['cryoem1'])"
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://guide.cryosparc.com/setup-configuration-and-management/software-system-guides/guide-lane-assignments-and-restrictions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
