Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Server.revoke_access

Stop a user attaching to this server.

Source and package
Qualified name
libtmux::server::Server::revoke_access
Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
pub async fn revoke_access(&self, user: &str) -> Result< (), Error >

Description#

Errors

Returns an error when the daemon is unsupported or refuses the change, which it does for the user who owns the server.

Parameters

tmux command#

The tmux commands behind revoke_access.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference