--- title: "既存組織へのユーザー追加" url: https://docs.catalyst.zoho.com/ja/sdk/java/v1/cloud-scale/authentication/add-new-user-to-existing-org/ description: "このページでは、Catalyst Authenticationを使用してJavaアプリケーションに新しいエンドユーザーを追加するメソッドについて、サンプルコードスニペットとともに説明します。" last_updated: 2026-03-30T08:10:30Z service: Cloud Scale type: general related_links: - name: "Add New User to Existing Org - API" url: /ja/api/code-reference/cloud-scale/authentication/add-user-to-existing-org/#AddaNewUsertoanExistingOrganization - name: "Authentication" url: /ja/cloud-scale/help/authentication/introduction --- # 既存組織への新規ユーザーの追加 以下のコードスニペットを使用すると、新しい組織を作成せずに、既存の組織に[ユーザー](https://docs.catalyst.zoho.com/ja/cloud-scale/help/authentication/user-management/users/introduction/)を登録できます。 > **Note: ** * `FirstName`、`EmailId`、`OrgID`は必須属性です。 * 新しいユーザーを招待する際、送信者のメールアドレス、件名、メールメッセージを設定できます。[Catalyst Mailコンポーネント](https://docs.catalyst.zoho.com/ja/cloud-scale/help/mail/email-configuration/)にメールアドレスを追加し、SDKコードで使用する前に認証を完了させる必要があります。 #### サンプルコードスニペット **Package Imports** ```java import com.zc.component.users.PlatformType; import com.zc.component.users.ZCSignUpData; import com.zc.component.users.ZCUser; import com.zc.component.ZCMailTemplateDetails; ``` ```java //ZCSignUpDataのインスタンスを取得する ZCSignUpData signUpdetails = ZCSignUpData.getInstance(); //インスタンスを使用してサインアップに必要なデータを渡す ZCMailTemplateDetails mailData= signUpdetails.mailTemplateInstance(); mailData.setSendersMail("docofoh552@lukaat.com"); mailData.setSubject("Welcome to %APP_NAME%"); mailData.setMessage("

Hello ,

Follow this link to join in %APP_NAME% .

%LINK%

If you didn't ask to join the application, you can ignore this email.

Thanks,

Your %APP_NAME% team

"); signUpdetails.setTemplateDetails(mailData); signUpdetails.setPlatformType(PlatformType.WEB); signUpdetails.userDetail.setEmailId("amelia.burrows@zylker.com"); signUpdetails.userDetail.setLastName("Amelia"); signUpdetails.userDetail.setOrgId("35712181"); //ここにユーザーの組織IDを渡す //signUpdetailsを使用してユーザーを登録する signUpdetails = ZCUser.getInstance().addUser(signUpdetails); ```