> 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 %}
