

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 編輯 Identity Center 目錄使用者屬性
<a name="edituser"></a>

使用下列程序來編輯 Identity Center 目錄中使用者的屬性。或者，您可以呼叫 AWS API 操作 [ UpdateUser](https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_UpdateUser.html) 來更新使用者屬性。

------
#### [ Console ]

**在 IAM Identity Center 中編輯使用者屬性**

1. 開啟 [IAM Identity Center 主控台](https://console.aws.amazon.com/singlesignon)。

1. 選擇 **Users** (使用者)。

1. 選擇您要編輯的使用者。

1. 在使用者**設定檔**頁面的**設定檔詳細資訊**旁，選擇**編輯**。

1. 在**編輯設定檔詳細資訊**頁面上，視需要更新屬性。然後，選擇 **Save changes** (儲存變更)。
**注意**  
（選用） 您可以修改其他屬性，例如**員工編號**和 **Office 365 Immutable ID**，以協助將 IAM Identity Center 中的使用者身分映射到使用者需要使用的特定商業應用程式。
**注意**  
**電子郵件地址**屬性是可編輯的欄位，您提供的值必須是唯一的。

------
#### [ AWS CLI ]

**在 IAM Identity Center 中編輯使用者屬性**  
下列`update-user`命令會更新使用者的暱稱。

```
aws identitystore update-user \
    --identity-store-id d-1234567890 \
    --user-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
    --operations '{"AttributePath":"nickName","AttributeValue":"Johnny"}'
```

------