---
schema_version: "1"
id: 8f009a68f5dc1020d23f8153f1f3323fa2236e1d67a312bcf020efc8cd2eadea
title: tsm user-identity-store
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server/cli_user-identity_tsm.md
canonical_url: https://help.tableau.com/v0.0/server/zh-tw/cli_user-identity_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 287836d8176af8d6f603731e161e5f7bb35b207b3850df750feb23e475dd3de2
description: Reference for tsm user-identity-store commands to modify identity store settings after install.
---
[跳至主要內容](#main-content)

# tsm user-identity-store

您可以在初始設定後，使用 `tsm user-identity-store` 命令來修改 Tableau Server 的識別身份存放區設定。

識別身份存放區的初始設定是安裝程序的一部分。請參閱[設定初始節點設定](https://help.tableau.com/v0.0/server/zh-tw/config_general.htm)。

如需識別身份存放區概念的簡介，請參閱[身分存放區](https://help.tableau.com/v0.0/server/zh-tw/plan_identity_store.htm)。

若為 LDAP/Active Directory 設定參考資料表，請參閱 [外部識別身分存放區設定參考資料](https://help.tableau.com/v0.0/server/zh-tw/ldap_config.htm)。

- [get-group-mappings](#TSMGroupMap)
- [get-user-mappings](#TSMUserMap)
- [list](#TSMUIList)
- [set-connection](#TSMSetConnection)
- [set-group-mappings](#TSMSetGroupMap)
- [set-user-mappings](#TSMSetUserMap)
- [verify-group-mappings](#TSMverify-group-mappings)
- [verify-user-mappings](#TSMIDverify-user-mappings__[options])

## tsm user-identity-store get-group-mappings \[options\]

顯示識別身分存放區組對應。

### 概要

tsm user-identity-store get-group-mappings \[global options\]

## tsm user-identity-store get-user-mappings \[options\]

顯示識別身分存放區使用者對應。

### 概要

tsm user-identity-store get-user-mappings \[global options\]

## tsm user-identity-store list \[options\]

列出使用者身分設定。

### 概要

tsm user-identity-store list \[options\] \[global options\]

### 選項

\-v, --verbose

可選。

列出所有設定參數。

## tsm user-identity-store set-connection \[options\]

設定識別身分存放區連線參數。

### 概要

tsm user-identity-store set-connection --kerbkeytab <kerbkeytab> \[options\] \[global options\]

### 選項

\-b,--bind <username and password | Kerberos>

可選。

設定 LDAP 綁定類型。

\-d,--domain <domain>

可選。

功能變數名稱。

\-hn,--hostname <hostname>

可選。

LDAP 伺服器的主機名稱。您可以針對該值輸入主機名稱或 IP 位址。您在這裡指定的主機將用於主要網域上的使用者/群組查詢。如果使用者/群組查詢位於其他網域中，Tableau Server 將查詢 DNS 以識別適當的網域控制器。

\-kc,--kerbconfig <kerbconfig>

可選。

Kerberos 設定檔路徑。

\-kp,--kerbprincipal <kerbprincipal>

可選。

Kerberos 主體。

\-kt,--kerbkeytab <kerbkeytab>

必需。

Kerberos Keytab 檔案路徑。

\-l,--port <port>

可選。

設定 LDAP 埠值。

\-lp,--ldappassword <ldappassword>

可選。

LDAP 密碼。

\-lu,--ldapusername <ldapusername>

可選。

設定 LDAP 使用者名值。

\-n,--nickname <nickname>

可選。

NetBIOS 名稱（昵稱）。

## tsm user-identity-store set-group-mappings \[options\]

設定識別身分存放區組對應並設定實現任意或自訂模式的 LDAP 目錄。

### 概要

tsm user-identity-store set-group-mappings \[options\] \[global options\]

### 選項

\-b,--basefilter <groupbasefilter>

可選。

設定組 BaseFilter 值。

\-cn,--classnames <group\_classnames>

可選。

使用您在此處設定的值替代預設使用者類名值（包含 \[group\] 字串）。您可以提供由逗號分隔的多個類名。

\-d,--description <description>

可選。

組說明。

\-e,--groupemail <groupemail>

可選。

組電子郵件值。

\-m,--member <member>

可選。

設定組成員。

\-n,--groupname <groupname>

可選。

組名稱。

## tsm user-identity-store set-user-mappings \[options\]

設定識別身分存放區使用者對應並設定實現任意或自訂模式的 LDAP 目錄。

### 概要

tsm user-identity-store set-user-mappings --certificate <certificate> \[options\] \[global options\]

### 選項

\-c,--certificate <certificate>

可選。

使用者憑證檔位置。

\-cn,--classnames <user\_classnames>

可選。

使用您在此處設定的值替代預設使用者類名值（ \[user\] and \[inetOrgPerson\] ）。您可以提供由逗號分隔的多個類名。

\-dn,--displayname <displayname>

可選。

使用者的顯示名稱。

\-e,--email <email>

可選。

使用者的電子郵寄地址。

\-jp,--jpegphoto <jpegfile>

可選。

使用者的 jpeg 影像位置。

\-m,--memberof <groupname>

可選。

使用者所屬的組。

\-t,--thumbnail <thumbnail>

可選。

使用者的縮圖位置。

\-ub,--basefilter <userbasefilter>

可選。

使用者的 BaseFilter。

\-uu,--ldapusername <ldapusername>

可選。

User name。

## tsm user-identity-store verify-group-mappings \[options\]

驗證 LDAP 組對應的設定。

**附註：** 此命令使用存儲在 和 `[wgserver.domain.password](https://help.tableau.com/v0.0/server/zh-tw/cli_configuration-set_tsm.htm#wgserver-domain-password)`中的 `[wgserver.domain.username](https://help.tableau.com/v0.0/server/zh-tw/cli_configuration-set_tsm.htm#wgserver-domain-username)` 憑據。如果未設定這些金鑰，即使 Tableau Server 已成功連線到 Active Directory，命令也會失敗。

### 概要

tsm user-identity-store verify-group-mappings --verify <group\_name> \[global options\]

### 選項

\-v,--verify <group\_name>

可選。

要搜尋的組的名稱。

## tsm user-identity-store verify-user-mappings \[options\]

驗證 LDAP 使用者對應的設定。

**附註：** 此命令使用存儲在 和 `[wgserver.domain.password](https://help.tableau.com/v0.0/server/zh-tw/cli_configuration-set_tsm.htm#wgserver-domain-password)`中的 `[wgserver.domain.username](https://help.tableau.com/v0.0/server/zh-tw/cli_configuration-set_tsm.htm#wgserver-domain-username)` 憑據。如果未設定這些金鑰，即使 Tableau Server 已成功連線到 Active Directory，命令也會失敗。

### 概要

tsm user-identity-store verify-user-mappings --verify <user\_name> \[global options\]

### 選項

\-v,--verify <user\_name>

可選。

要搜尋的使用者的名稱。

## 全域選項

\-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/zh-tw/tsm_overview.htm#Connecti)。

\-u, --username <user>

在會話不是活動狀態的情況下為必需，`-p` 或 `--password` 也為必需。

請指定使用者名稱。如果未包括此選項，則使用您登入所使用的認證執行該命令。