データローダを使用した公開グループメンバーシップの管理
データローダを使用して、公開グループのメンバーシップに対する大量の変更を管理できます。
データローダへのアクセス方法と使用法方については、こちらをご覧ください。
注意: Sandbox 組織にログインするには、[設定] をクリックしてからデータローダのメイン画面の [設定] をクリックし (不要な機能はキャンセルします)、[サーバホスト] 項目を https://test.salesforce.com に変更します。本番組織に接続するときは、この項目を https://www.salesforce.com に戻すか、空白にしておきます。
データローダで、自分のユーザ名とパスワードを使用して Salesforce 組織にログインします。
**グループメンバーリストの抽出**
次のようにエクスポート機能を使用して、グループの現在のメンバーのリストを抽出します。
すべての Salesforce オブジェクトを表示するためのチェックボックスをクリックして、 「グループメンバー」オブジェクトを選択し、
[Id]、[GroupId]、[UserOrGroupId] 項目を選択します。
SOQL 検索条件を「GroupId」 、 「<equals>」に設定し、Salesforce 公開グループの URL から 15 文字のグループレコード IDをコピーして値に貼り付けてから、[Add Condition] ボタンをクリックして検索条件を有効にします。データローダウィザードの残りの手順を実行します。
外部アプリケーション (Excel、CSV) で結果を表示します。
**グループメンバーの削除**
警告: これは破壊的な操作ですので、慎重に行ってください。
公開グループから大量のユーザを削除するには、データローダを起動し、自分の組織にログインして、削除機能を選択します。
抽出してある CSV ファイルを編集して、削除する公開グループメンバーの ID のみを残します。
重要: グループメンバーをエクスポートして抽出した ID を使用してください。グループレコードやユーザレコードの ID は使用しないでください。
データローダウィザードの指示に従って操作を完了します。
警告: GroupId または UserOrGroupId を使用すると、実際のグループやユーザが削除されてしまいますので、これらは使用しないでください。
**グループメンバーの追加**
公開グループに新しいメンバーを追加するには、上記のエクスポート機能で抽出した列見出しを使用して CSV ファイルを作成します。
ID 列は削除します (この列は挿入機能によって作成されます)。
グループレコードの URL から 15 文字のレコード ID をコピーして GroupId 列に貼り付けます。
ユーザレコードの URL から 15 文字のレコード ID をコピーして UserOrGroupId 列に貼り付けます。
データローダウィザードの指示に従って、項目のマッピングなどを完了します。
関連記事
データローダを使用したデータの挿入、更新、または削除
000385341

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.