--- title: "User Signup" url: https://docs.catalyst.zoho.com/en/sdk/ios/v2/cloud-scale/authentication/user-signup/ description: "Adding new users to your catalyst application." last_updated: 2023-09-02T19:36:41Z service: Cloud Scale type: general related_links: - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction - name: "Users" url: /en/cloud-scale/help/authentication/user-management/users/introduction/ - name: "Authentication - API" url: /en/api/code-reference/cloud-scale/authentication/add-new-user/#AddNewUser --- # User Signup You can add a new [user](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/) to your Catalyst app by calling the `signUp()` method. You must pass the [user instance defined here](https://docs.catalyst.zoho.com/en/sdk/ios/v2/cloud-scale/authentication/create-user-instance) as the argument to the `signUp()` method. The code syntax for user signup is given below: ```bash ZCatalystApp.shared.signUp(user: ZCatalystUser, completion: @escaping (Result<( ZCatalystUser, Int64 ), ZCatalystError >) -> Void) ``` **Parameters**: * `user`: The user instance created before this operation * `completion`: If the call executes successfully, the completion block returns the user object with an `UserID`, `ZUID`, `Org ID`, etc assigned for the user. Else, it returns an error. A sample code snippet is shown below: ```bash let userobj = ZCatalystApp.shared.newUser( lastName : "McRogan", email : "timothy.mcrogan@zylker.com") //Replace this with the last name and email address of the user ZCatalystApp.shared.signUp(user: userobj) { ( result ) in switch result{ case .success ( let result ) : print("The user \(result.0.firstName) in org \(result.1) has been successfully signed up.") case .error( let error ) : print( "Error occurred >>> \( error )" ) } } ```