指定 User Profile Service 功能的管理 (SharePoint Server 2010)

 

適用版本: SharePoint Server 2010

上次修改主題的時間: 2016-11-30

伺服器陣列管理員可委派管理 User Profile Service 應用程式或選取的 User Profile Service 應用程式功能,給服務應用程式管理員。服務應用程式管理員可委派管理一或多項 User Profile Service 應用程式服務的功能給其他使用者 (亦稱為功能管理員)。功能管理員可執行所有與委派的一或多項功能相關之管理工作,但無法管理管理中心內的其他功能、服務應用程式或設定。如需詳細資訊,請參閱<User Profile Service 概觀 (SharePoint Server 2010)>。

可將下列任意的 User Profile Service 應用程式功能委派給功能管理員:

  • 管理設定檔

  • 管理對象

  • 管理權限

  • 擷取搜尋編目程式的人員資料

  • 管理社交資料

執行此程序之前,請先確認下列事項:

  • 伺服器陣列中已有執行 User Profile Service 應用程式。

本文內容:

  • 使用管理中心委派 User Profile Service 功能的管理

  • 使用 Windows PowerShell 委派 User Profile Service 功能的管理

使用管理中心委派 User Profile Service 功能的管理

管理中心網站一般用於在獨立部署中,委派 User Profile Service 功能的管理。

使用管理中心委派 User Profile Service 功能的管理

  1. 確認您具備下列管理認證:

  2. 在管理中心網站上,按一下 [應用程式管理] 區段中的 [管理服務應用程式]。

  3. 在服務應用程式清單中,按一下 [User Profile Service Application]。

  4. 在 [服務應用程式] 索引標籤的 [作業] 群組中,按一下 [管理員]。

  5. 在 [User Profile Service Application 管理員] 頁面上,輸入或選取使用者或群組帳戶,然後按一下 [新增]。

  6. 在 [管理員權限:] 方塊中,核取要委派管理的功能,然後按一下 [確定]。

使用 Windows PowerShell 委派 User Profile Service 功能的管理

希望自動化工作時,一般會使用 Windows PowerShell 委派 User Profile Service 功能的管理,這在企業中很常見。

使用 Windows PowerShell 委派 User Profile Service 功能的管理

  1. 確認符合下列基本需求:

  2. 在 [開始] 功能表上,按一下 [系統管理工具]。

  3. 按一下 [SharePoint 2010 管理命令介面]。

  4. 在 Windows PowerShell 命令提示字元 (即 PS C:\\>) 處,輸入下列不含註解 (//) 的命令,各自分列一行:

    // Display a list of all service applications and their GUIDs
    Get-SPServiceApplication
    
    // Create a variable that contains the guid for the User
    // Profile service for which you want to delegate Full Control
    $serviceapp = Get-SPServiceApplication <guid>
    
    // Create a variable that contains the list of administrators
    // for the service application 
    $security = Get-SPServiceApplicationSecurity $serviceapp -Admin
    
    // Create a variable that contains the claims principal for a user account
    $principalUser1 = New-SPClaimsPrincipal -Identity "domain\user" -IdentityType WindowsSamAccountName
    
    // Give "Manage Social Data" permissions to the claims
    // principal you just created
    Grant-SPObjectSecurity $security -Principal $principalUser1 -Rights "Manage Social Data"
    
    // Apply the changes to the User Profile service application
    Set-SPServiceApplicationSecurity $serviceapp -objectSecurity $security -Admin
    

    其中:

    • <guid> 是要委派以「管理社交資料」權限之 User Profile Service 的 GUID。

    • <網域\使用者> 是您要委派以「管理社交資料」權限的使用者。

    如需詳細資訊,請參閱<Get-SPServiceApplication>、<Get-SPServiceApplicationSecurity>、<New-SPClaimsPrincipal>、<Grant-SPObjectSecurity>及<Set-SPServiceApplicationSecurity>。

    注意

    建議您在執行命令列管理工作時使用 Windows PowerShell。Stsadm 命令列工具已過時,但為與舊版產品相容,仍會隨附提供。

See Also

Concepts

指定 User Profile Service 功能的管理 (SharePoint Server 2010)
指定 User Profile Service 應用程式的管理 (SharePoint Server 2010)