--- title: "Get All Org IDs" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/authentication/get-org-id/ description: "This page describes the method to collect all the Org IDs associated to your Java application using Catalyst Authentication with sample code snippets." last_updated: 2025-11-19T15:07:41Z service: Cloud Scale type: general related_links: - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction - name: "User Management" url: /en/cloud-scale/help/authentication/user-management/users/introduction/ --- # Get All Org IDs Org ID or `ZAAID` is the unique identification of the organization that an end-user belongs to. This identification is generated when the end-user signs up to your application through any of the [authentication types](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/authentication-types/), gets added through the [Add User API](https://docs.catalyst.zoho.com/en/api/code-reference/cloud-scale/authentication/add-new-user/#AddNewUser) or through the [Add User button](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/implementation/#adding-a-new-user-from-the-console) in the console. The SDK snippet below demonstrates fetching all the Org IDs generated while adding new users to your application using the `getAllOrgs()` method. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.users.ZCUser; ``` ```java ZCUser user = ZCUser.getInstance(); user.getAllOrgs(); ```