新增、 編輯或刪除 SharePoint Server 使用者設定檔中的自訂屬性Add, edit, or delete custom properties in SharePoint Server user profiles

摘要:了解如何建立、 編輯及刪除 SharePoint Server 2013 和 SharePoint Server 2016 中的使用者設定檔屬性。Summary: Learn how to create, edit, and delete user profile properties in SharePoint Server 2013 and SharePoint Server 2016.

在 SharePoint Server 中的使用者設定檔服務應用程式的 [管理設定檔服務] 頁面上會集中位置管理可用的使用者設定檔屬性及建立新的屬性。您必須是 SharePoint 伺服器陣列管理員群組或變更的使用者設定檔服務應用程式服務應用程式管理員的成員。The Manage Profile Service page of a User Profile service application in SharePoint Server is a central location for managing available user profile properties and creating new properties. You need to be a member of the Farm Administrators SharePoint group or a Service Application Administrator for the User Profile service application to make changes.

您可以使用其他屬性對預設使用者設定檔屬性進行補充,以便追蹤無法透過其他方式取得的關鍵資訊。關鍵業務需求可能會促使您建立能將使用者與重要業務流程相關聯的新屬性。例如,銷售部門可以建立特定銷售角色屬性,以便與特定對象進行共用。可以對自訂的使用者設定檔屬性進行編輯以更符合業務需求,當不再需要這些屬性時可加以刪除。You can supplement default user profile properties with additional properties to track key information that is not otherwise available. Key business needs might encourage you to create new properties that associate users with important business processes. For example, a sales department can create a specific sales role property to share with a particular audience or audiences. Custom user profile properties can be edited to better suit business needs or they can be deleted when no longer needed.

新增使用者設定檔屬性Add a user profile property

執行下面的程序以建立使用者設定檔屬性。Perform the following procedure to create a user profile property.

若要建立新的使用者設定檔屬性To create a new user profile property

  1. 在管理中心上,按一下 [應用程式管理] 區段中的 [管理服務應用程式]。On Central Administration, in the Application Management section, click Manage service applications.

  2. 在 [管理服務應用程式] 頁面上按一下 [User Profile service 應用程式的連結。On the Manage Service Applications page, click the link for the User Profile service application.

  3. 按一下 [管理設定檔服務] 頁面上的 [人員] 區段中的 [管理使用者屬性]。On the Manage Profile Service page, in the People section, click Manage User Properties.

  4. 在 [管理使用者設定檔屬性] 頁面上按一下 [新增屬性]。On the Manage User Profile Properties page, click New Property.

  5. 在 [新增使用者設定檔屬性] 頁面上屬性設定] 區段的 [名稱] 文字方塊中輸入要使用的使用者設定檔屬性的 User Profile service 應用程式的名稱。On the Add User Profile Property page, in the Property Settings section, in the Name text box, type a name to be used by the User Profile service application for the user profile property.

  6. 在 [屬性設定] 區段的 [顯示名稱] 方塊中輸入會顯示所有使用者的使用者設定檔屬性名稱。In the Property Settings section, in the Display Name box, type the user profile property name that will be displayed to all users.

    注意

    如果您使用多種語言部署中,您可以依序按一下 [編輯語言]提供每種語言的替代的顯示名稱。在對話方塊中,按一下 [新增語言、 從功能表中,選取的語言,然後輸入顯示名稱以新的語言。您可以新增任何可用的語言的顯示名稱。顯示的顯示名稱的檢視屬性之使用者的電腦上的作業系統語言而定。If you use multiple languages in your deployment, you can provide alternative display names for each language by clicking Edit Languages. In the dialog box, click Add Language, select a language from the menu, and then type the display name in the new language. You can add display names for any of the available languages. The display name that appears depends on the language of the operating system on the computer of the user who views the property.

  7. 在 [類型] 下拉式清單中,按一下 [屬性的資料類型。On the Type drop-down list, click the data type for the property.

    注意

    如果您選取字串 (多重值)時,屬性將會永久設定為多重值屬性。您無法變更此設定後按一下 [確定]。您只能刪除屬性並將其重新新增為新的單一值屬性。If you select string (Multi Value), the property will be permanently set as a multivalued property. You cannot change this setting after you click OK. You can only delete the property and add it again as a new single value property.

  8. 在 [長度] 方塊中輸入此屬性值允許的字元數上限。In the Length box, type the maximum number of characters that are allowed for values for this property.

  9. 按一下以選取受管理的中繼資料字詞集建立關聯的設定檔屬性及選取的字詞組從下拉式清單中的字詞組要用於這個屬性的設定Click to select Configure a Term Set to be used for this property to associate the profile property with a managed metadata term set and select a term set from the drop-down list.

  10. [檔子類型] 區段中選取 [預設使用者設定檔子類型来關聯此使用者設定檔屬性的預設使用者設定檔子類型]。In the Sub-type of Profile section, select the Default User Profile Subtype to associate the default user profile subtype with this user profile property.

  11. 在 [使用者描述] 區段的 [描述] 方塊中輸入的說明或顯示給使用者有關此使用者設定檔屬性的資訊。In the User Description section, in the Description box, type the instructions or information that is displayed to users about this user profile property.

    注意

    如果您使用多種語言部署中,您可以依序按一下 [編輯語言]提供每種語言的替代的顯示名稱。在對話方塊中,按一下 [新增語言、 從功能表中,選取的語言,然後輸入顯示名稱以新的語言。您可以新增任何可用的語言的顯示名稱。顯示的顯示名稱的檢視屬性之使用者的電腦上的作業系統語言而定。If you use multiple languages in your deployment, you can provide alternative display names for each language by clicking Edit Languages. In the dialog box, click Add Language, select a language from the menu, and then type the display name in the new language. You can add display names for any of the available languages. The display name that appears depends on the language of the operating system on the computer of the user who views the property.

  12. 在 [原則設定] 區段中選取原則設定與您想要針對此屬性的預設隱私權設定。按一下以選取 [讓使用者能夠覆寫這些設定的 [使用者可以覆寫] 方塊中In the Policy Settings section, select the policy setting and default privacy setting that you want for this property. Click to select User can override box to enable users to override these settings.

  13. 在 [編輯設定] 區段中選取使用者是否可以編輯此屬性的值。In the Edit Settings section, select whether users can edit values for this property.

  14. 在 [顯示設定] 區段中,指定是否將使用者所檢視屬性及其。In the Display Settings section, specify if and how the property will be viewed by users.

  15. 在 [搜尋設定] 區段中選取 [別名] 核取方塊、索引] 核取方塊,或兩者,視您想要與此使用者設定檔屬性相關聯的搜尋的種類而定。In the Search Settings section, select the Alias check box, the Indexed check box, or both, depending on the kinds of searches that you want to be associated with this user profile property.

    注意

    除非預設隱私權設定設為 「 所有人 」 無法使用 [別名] 核取方塊。The Alias check box is unavailable unless the Default Privacy Setting is set to "Everyone".

    注意

    如果您將屬性標示為編製索引,該屬性的值的搜尋結果未傳回該使用者設定檔。例如_電話號碼_屬性已編製索引,搜尋的電話號碼會找出該號碼與員工。如果您將標示為別名的屬性,則屬性會為這位使用者的適當別名。例如,如果您要搜尋的 John Kane 的所有文件、 結果會傳回寫入 johnkane@contoso.com 及 Jonathan Kane 如果設定檔屬性會標示為別名那些值的文件。If you mark a property as indexed, a search for values of that property returns that user profile. For example, if the telephone number property is indexed, a search of telephone numbers finds the employee with that number. If you mark a property as aliased, the property is a suitable alias for this user. For example, if you search for all documents by John Kane, the result returns documents that were written by johnkane@contoso.com and Jonathan Kane if profile properties are marked with those values as aliases.

  16. 在 [同步處理屬性對應] 區段中按一下 [刪除或變更現有對應中移除In the Property Mapping for Synchronization section, click Remove to delete or change an existing mapping.

  17. 在 [新增對應] 區段中指定的來源資料連線、 屬性及對應的同步處理方向。完成時,按一下 [新增]。In the Add new Mapping section, specify the source data connection, attribute, and synchronization direction for the mapping. When you are finished, click Add.

  18. 按一下 [ OK ]。Click OK.

編輯使用者設定檔屬性Edit a user profile property

執行下面的程序以編輯使用者設定檔屬性。Perform the following procedure to edit a user profile property.

若要編輯使用者設定檔屬性To edit a user profile property

  1. 在管理中心上,按一下 [應用程式管理] 區段中的 [管理服務應用程式]。On Central Administration, in the Application Management section, click Manage service applications.

  2. 在 [管理服務應用程式] 頁面上按一下 [User Profile service 應用程式的連結。On the Manage Service Applications page, click the link for the User Profile service application.

  3. 按一下 [管理設定檔服務] 頁面上的 [人員] 區段中的 [管理使用者屬性]。On the Manage Profile Service page, in the People section, click Manage User Properties.

  4. 在 [管理使用者設定檔屬性] 頁面的 [屬性名稱] 欄中,選取您想要變更的使用者設定檔屬性與然後在下拉式清單] 功能表中,按一下 [編輯On the Manage User Profile Properties page, in the Property Name column, select the user profile property that you want to change, and then, in the dropdown menu, click Edit.

  5. 在 [編輯使用者設定檔屬性] 頁面上找出您想要變更或編輯使用者設定檔屬性的元素。On the Edit User Profile Property page, locate the element or elements of the user profile property that you want to change and edit them.

  6. 完成時,按一下 [確定]When you are finished, click OK.

刪除使用者設定檔屬性Delete a user profile property

執行下面的程序以刪除使用者設定檔屬性。Perform the following procedure to delete a user profile property.

使用管理中心刪除使用者設定檔屬性的設定檔屬性To delete a user profile property profile property by using Central Administration

  1. 在管理中心上,按一下 [應用程式管理] 區段中的 [管理服務應用程式]。On Central Administration, in the Application Management section, click Manage service applications.

  2. 按一下 [管理設定檔服務] 頁面上的 [人員] 區段中的 [管理使用者屬性]。On the Manage Profile Service page, in the People section, click Manage User Properties.

  3. 在 [管理使用者設定檔屬性] 頁面的 [屬性名稱] 欄中,選取您要移除的使用者設定檔屬性與然後在下拉式清單] 功能表中,按一下 [刪除On the Manage User Profile Properties page, in the Property Name column, select the user profile property that you want to remove, and then, in the dropdown menu, click Delete.

  4. 在對話方塊中,確認您已選取了正確的使用者設定檔屬性,然後按一下 [確定]In the dialog box, verify that you have selected the correct user profile property, and then click OK.

另請參閱See also

概念Concepts

管理 User Profile service in SharePoint ServerAdminister the User Profile service in SharePoint Server

規劃 SharePoint Server 2013 Preview 的設定檔同步處理Plan profile synchronization for SharePoint Server 2013

User Profile service 概觀User Profile service overview

其他資源Other Resources

[委派管理 User Profile service 應用程式] 或 SharePoint Server 中的功能Delegate administration of User Profile service applications or features in SharePoint Server