--- title: "すべてのOrg IDの取得" url: https://docs.catalyst.zoho.com/ja/sdk/java/v1/cloud-scale/authentication/get-org-id/ description: "このページでは、Catalyst Authenticationを使用してJavaアプリケーションに関連付けられたすべてのOrg IDを取得するメソッドについて、サンプルコードスニペットとともに説明します。" last_updated: 2026-02-23T12:39:41Z service: Cloud Scale type: general related_links: - name: "Authentication" url: /ja/cloud-scale/help/authentication/introduction - name: "User Management" url: /ja/cloud-scale/help/authentication/user-management/users/introduction/ --- # すべてのOrg IDの取得 Org IDまたは`ZAAID`は、エンドユーザーが所属する組織の一意の識別子です。この識別子は、エンドユーザーがいずれかの[認証タイプ](https://docs.catalyst.zoho.com/ja/cloud-scale/help/authentication/authentication-types/)を通じてアプリケーションにサインアップした時、[Add User API](https://docs.catalyst.zoho.com/ja/api/code-reference/cloud-scale/authentication/add-new-user/#AddNewUser)を通じて追加された時、またはコンソールの[Add Userボタン](https://docs.catalyst.zoho.com/ja/cloud-scale/help/authentication/user-management/users/implementation/#adding-a-new-user-from-the-console)を通じて追加された時に生成されます。 以下のSDKスニペットは、`getAllOrgs()`メソッドを使用して、アプリケーションに新しいユーザーを追加する際に生成されたすべてのOrg IDを取得する方法を示しています。 #### サンプルコードスニペット **Package Imports** ```java import com.zc.component.users.ZCUser; ``` ```java ZCUser user = ZCUser.getInstance(); user.getAllOrgs(); ```