# LibTmux.Server.ConfigureAccessAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Server.Administration.cs#L39
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-server-configureaccessasync/

```
LibTmux.Server.ConfigureAccessAsync(request: ServerAccessRequest, cancellationToken: CancellationToken) -> Task<IReadOnlyList<string>?>
```

Grants or withdraws another user's access to this server.

## Parameters

- `request` (`ServerAccessRequest`): Who, and what they may do.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.

## Returns

The current list when it was asked for, and null otherwise.

## Raises

- [`TmuxVersionTooLowException`](/en/csharp/latest/reference/libtmux-tmuxversiontoolowexception/): tmux is older than 3.3.
