User Profile Service アプリケーションから管理者を削除する (SharePoint Server 2010)

 

適用先: SharePoint Server 2010

トピックの最終更新日: 2011-11-10

ファーム管理者は User Profile Service アプリケーションからサービス アプリケーションの管理者を削除できます。たとえば、退職したユーザーのアカウントは、サービス アプリケーションの管理者のリストから削除する必要があります。また、サービス アプリケーションの管理者が不要になった場合にも削除を行います。管理者の詳細については、「管理階層の管理者と所有者を選択する (SharePoint Server 2010)」を参照してください。

この手順を実行する前に、次の点を確認してください。

  • User Profile Service アプリケーションがファームで実行されていること。

この記事の内容

  • サーバーの全体管理を使用して User Profile Service アプリケーションから管理者を削除する

  • Windows PowerShell を使用して User Profile Service アプリケーションから管理者を削除する

サーバーの全体管理を使用して User Profile Service アプリケーションから管理者を削除する

通常、スタンドアロン展開で User Profile Service アプリケーションから管理者を削除するには、サーバーの全体管理 Web サイトを使用します。

サーバーの全体管理を使用して User Profile Service アプリケーションから管理者を削除するには

  1. 次の管理者の資格情報を持つことを確認します。

    • サーバーの全体管理を使用するには、この手順を実行するユーザー アカウントが、Farm Administrators グループのメンバーである必要があります。
  2. サーバーの全体管理 Web サイトの [アプリケーション構成の管理] セクションで、[サービス アプリケーションの管理] をクリックします。

  3. サービス アプリケーションのリストで、[User Profile Service アプリケーション] をクリックします。

  4. [サービス アプリケーション] タブの [サーバー構成の管理] グループで、[管理者] をクリックします。

  5. [User Profile Service アプリケーションの管理者] ページで、ユーザー アカウントまたはグループ アカウントを選択し、[削除] をクリックして、[OK] をクリックします。

Windows PowerShell を使用して User Profile Service アプリケーションから管理者を削除する

企業でよく行われるように、User Profile Service アプリケーションから管理者を削除するタスクを自動化する場合は、通常 Windows PowerShell を使用します。

Windows PowerShell を使用して User Profile Service アプリケーションから管理者を削除するには

  1. 次の最小要件を満たしていることを確認します。

  2. [スタート] メニューの [すべてのプログラム] をクリックします。

  3. [Microsoft SharePoint 2010 製品] をクリックします。

  4. [SharePoint 2010 管理シェル] をクリックします。

  5. Windows PowerShell コマンド プロンプト (PS C:\>) で、次のコマンド (コメント (//) は除く) をそれぞれ別々の行に入力します。

    // Get a list of all service applications and their GUIDs
    Get-SPServiceApplication
    
    // Create a variable that contains the guid of the User Profile service application
    // for which you want to remove an administrator
    $serviceapp = Get-SPServiceApplication <guid>
    
    // Create a variable that contains the list of administrators for the User Profile service application
    $security = Get-SPServiceApplicationSecurity $serviceapp -Admin
    
    // Remove the user from the list of service application administrators
    Revoke-SPObjectSecurity $security -Principal <user name> -Rights "Full Control"
    
    // Apply the changes to the User Profile service application
    Set-SPServiceApplicationSecurity $serviceapp -objectSecurity $security -Admin
    

    <guid> はサービス アプリケーションの管理者を削除する User Profile Service の GUID、<user name> は削除する管理者です。

    詳細については、「Get-SPServiceApplication」、「Get-SPServiceApplicationSecurity」、「Revoke-SPObjectSecurity」、および「Set-SPServiceApplicationSecurity」を参照してください。

    注意

    コマンドライン管理タスクを実行するときには Windows PowerShell を使用することが推奨されています。Stsadm コマンドライン ツールは推奨されていませんが、製品の以前のバージョンとの互換性をサポートするために含まれています。

See Also

Concepts

User Profile Service アプリケーションの管理を割り当てる (SharePoint Server 2010)