---
schema_version: "1"
id: 219d635cdc7d5c258e87c1b2fcd3e33b2d0a38136c5a0baac68fc3b23aacb964
title: tsm logout
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server-linux/cli_logout.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-cn/cli_logout.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 7600a4a374fc850285d4b80b15a8eabd03dcdeb38a0d9c59a2d0640292d7162d
description: Reference for the tsm logout command to log out of Tableau Services Manager.
---
[跳转到主要内容](#main-content)

# tsm logout

您可以使用 `tsm logout` 命令注销 Tableau 服务管理器 (TSM)。

### 概要

`tsm logout [global options]`

## 全局选项

\-h, --help

可选。

显示命令帮助。

\-p, --password <password>

在会话不是活动状态的情况下为必需，`-u` 或 `--username` 也为必需。

为在 `-u` 或 `--username` 中指定的用户指定密码。

如果密码包括空格或特殊字符，请将其括在引号中：

`--password 'my password'`

\-s, --server https://<hostname>:8850

可选。

对 Tableau 服务管理器使用指定的地址。URL 必须以 `https` 开头，包括端口 8850，并使用服务器名称（而不是 IP 地址）。例如，`https://<tsm_hostname>:8850`。如果没有指定服务器，则假定为 `https://<localhost | dnsname>:8850`。

\--trust-admin-controller-cert

可选。

使用此标志来信任 TSM 控制器上的自签名证书。有关证书信任和 CLI 连接的详细信息，请参见 [连接 TSM 客户端](https://help.tableau.com/v0.0/server-linux/zh-cn/tsm_overview.htm#Connecti)。

\-u, --username <user>

在会话不是活动状态的情况下为必需，`-p` 或 `--password` 也为必需。

指定用户帐户。如果未包括此选项，则使用您登录所使用的凭据运行该命令。