> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-detect-table-modification.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# クラウドユーザーの管理

> このページでは、管理者によるユーザーの追加、割り当ての管理、ユーザーの削除の方法を説明します

export const EnterprisePlanFeatureBadge = ({feature = 'この機能', support = false, linking_verb_are = false}) => {
  return <div className="enterprisePlanFeatureContainer">
            <div className="enterprisePlanFeatureBadge">
                Enterpriseプランの機能
            </div>
            <div>
                <p>{feature} {linking_verb_are ? 'は' : 'は'} Enterpriseプランで利用できます。{support ? `この機能を有効にするには、サポートにお問い合わせください。` : 'アップグレードするには、Cloud Console のプランページにアクセスしてください。'}</p>
            </div>
        </div>;
};

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

このガイドは、ClickHouse Cloud で Admin ロールを持つユーザー向けです。

<div id="add-users">
  ## 組織にユーザーを追加する
</div>

<div id="invite-users">
  ### ユーザーを招待する
</div>

管理者は、一度に複数のユーザーを招待し、招待時に1つ以上のロールを割り当てることができます。

<Steps>
  <Step>
    ### 組織設定にアクセスし、`Users and roles` を選択する

    サービスページで組織名を選択します。ポップアップメニューから `Users and roles` を選択します。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/1_users_and_roles.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=b2faf9ae134c4cfc7385913980709efd" size="lg" width="3418" height="1702" data-path="images/cloud/guides/control_plane/1_users_and_roles.webp" />
  </Step>

  <Step>
    ### 左上の `Invite members` を選択する

    左上の `Invite members` ボタンをクリックします。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/manage_cloud_users/2_invite_user.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=16ad1e0ce9f5c9dd554669ec95d42bea" size="lg" width="3416" height="978" data-path="images/cloud/guides/control_plane/manage_cloud_users/2_invite_user.webp" />
  </Step>

  <Step>
    ### 新しいメンバーのメールアドレスを入力し、ロールを割り当てる

    招待画面の上部にメールアドレスを入力します。ユーザーに割り当てるロールを1つ以上選択します。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/manage_cloud_users/3_invite_user.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=b425a2f33db4ab1ec137eccaca1f9106" size="lg" width="3416" height="1710" data-path="images/cloud/guides/control_plane/manage_cloud_users/3_invite_user.webp" />
  </Step>

  <Step>
    ### `Send invites` をクリックする

    画面下部の `Send invites` をクリックします。ユーザーにはメールが送信され、そのメールから組織に参加できます。招待の承諾について詳しくは、[Manage my account](/ja/products/cloud/guides/security/cloud-access-management/manage-my-account)を参照してください。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/manage_cloud_users/4_invite_user.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=2768761734cf54f4fa321f9b3c286d2e" size="lg" width="3416" height="1696" data-path="images/cloud/guides/control_plane/manage_cloud_users/4_invite_user.webp" />
  </Step>
</Steps>

<div id="add-users-via-saml">
  ### SAML IDプロバイダー経由でユーザーを追加する
</div>

組織で [SAML SSO](/ja/products/cloud/guides/security/cloud-access-management/saml-sso-setup) が設定されている場合は、次の手順に従って組織にユーザーを追加してください。

1. IDプロバイダー内の SAML アプリケーションにユーザーを追加します。ユーザーは一度ログインするまで ClickHouse に表示されません。
2. ユーザーが ClickHouse Cloud にログインすると、SAML 設定で選択したデフォルトのロールが自動的に割り当てられます。
3. 権限を付与するには、以下の `ユーザーのロール割り当てを管理する` の手順に従ってください

<div id="enforce-saml">
  ### SAML のみの認証を強制する
</div>

組織内に Admin ロールが割り当てられた SAML ユーザーが少なくとも 1 人いる状態になったら、組織で SAML 認証のみを有効にするため、ほかの認証方法を使用するユーザーを組織から削除します。

<div id="manage-role-assignments">
  ## ユーザーのロール割り当てを管理する
</div>

Admin ロールが割り当てられているユーザーは、いつでも他のユーザーの権限を更新できます。

<Steps>
  <Step>
    ### 組織設定にアクセスして `Users and roles` を選択する

    サービスページで、組織名を選択します。ポップアップメニューから `Users and roles` メニュー項目を選択します。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/1_users_and_roles.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=b2faf9ae134c4cfc7385913980709efd" size="lg" width="3418" height="1702" data-path="images/cloud/guides/control_plane/1_users_and_roles.webp" />
  </Step>

  <Step>
    ### 更新するユーザーを選択し、Edit を選択する

    アクセスを変更するユーザーの行の末尾にあるメニューを選択します。ポップアップメニューから `Edit` を選択します。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/manage_cloud_users/5_edit_user.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=6ec2efffdb59739c4d47668d2f7eff43" size="lg" width="3410" height="1706" data-path="images/cloud/guides/control_plane/manage_cloud_users/5_edit_user.webp" />
  </Step>

  <Step>
    ### 権限を更新する

    `Roles` ボックスをクリックしてメニューを展開します。チェックボックスを選択して、そのユーザーにロールを追加または削除します。ロールと関連する権限の一覧については、[Console roles and permissions](/ja/products/cloud/reference/security/console-roles) を参照してください。

    <Image img="https://mintcdn.com/private-7c7dfe99-detect-table-modification/XOOlYBuM8pBBOTzZ/images/cloud/guides/control_plane/manage_cloud_users/6_edit_user.webp?fit=max&auto=format&n=XOOlYBuM8pBBOTzZ&q=85&s=1df00c0a8b13bd756c1c666f475799e6" size="lg" width="3414" height="1700" data-path="images/cloud/guides/control_plane/manage_cloud_users/6_edit_user.webp" />
  </Step>

  <Step>
    ### 変更を保存する

    タブの下部にある `Save changes` ボタンをクリックして変更を保存します。
  </Step>
</Steps>

<div id="remove-user">
  ## ユーザーを削除する
</div>

<Info>
  **SAML ユーザーを削除する**

  IDプロバイダー で ClickHouse アプリケーションへの割り当てが解除された SAML ユーザーは、ClickHouse Cloud にログインできなくなります。アカウントはコンソールから自動では削除されないため、手動で削除する必要があります。
</Info>

以下の手順でユーザーを削除します。

1. 左下にある組織名を選択します
2. `Users and roles` をクリックします
3. ユーザー名の横にある 3 点メニューをクリックし、`Remove` を選択します
4. `Remove user` ボタンをクリックして操作を確定します
