--- title: "ユーザーインスタンスの作成" url: https://docs.catalyst.zoho.com/ja/sdk/flutter/v2/cloud-scale/authentication/create-user-instance/ description: "Flutterアプリでユーザー操作を行うための新しいユーザーインスタンスを作成できます。" last_updated: 2026-02-23T12:39:41Z service: Cloud Scale type: general related_links: - name: "Authentication" url: /ja/cloud-scale/help/authentication/introduction - name: "Users" url: /ja/cloud-scale/help/authentication/user-management/users/introduction/ - name: "Add New User - API" url: /ja/api/code-reference/cloud-scale/authentication/add-new-user/#AddNewUser --- # Authentication [Catalyst Authentication](https://docs.catalyst.zoho.com/ja/cloud-scale/help/authentication/introduction)の機能を使用すると、Catalystアプリのユーザー認証を管理し、ユーザーを追加し、ユーザーアカウントを設定できます。 ## 新しいユーザーインスタンスの作成 新しいユーザーインスタンスを作成し、このクラスで定義されたメソッドを有効にしてインスタンスオブジェクトにアクセスできます。これにより、不要なサーバー呼び出しを防ぐことができます。 以下のコード構文に示すように、ユーザーの詳細を`newUser()`メソッドに渡す必要があります。インスタンスを正常に作成するには、ユーザーのメールアドレスと名前を必須で渡す必要があります。 ```bash ZCatalystUserDelegate newUser({ required String firstName, required String emailId, String? lastName, ZCatalystRole? role, }) ``` **パラメーター**: * `lastName`(必須): 新しいユーザーの姓です。 * `email`(必須): [招待メール](https://docs.catalyst.zoho.com/ja/cloud-scale/help/authentication/user-management/users/implementation/)が送信されるユーザーのメールアドレスです。 * `lastName`: 新しいユーザーの姓です。 * `role`: ユーザーに割り当てる[ロール](https://docs.catalyst.zoho.com/ja/cloud-scale/help/authentication/user-management/roles/introduction/)です。 サンプルコードスニペットを以下に示します: ```bash ZCatalystUserDelegate newUser = ZCatalystApp.getInstance().newUser( firstName: 'Patricia', emailId: 'p.boyle@zylker.com', lastname: 'Boyle', role: Admin, ); ```