--- title: "Update Details of a User" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/authentication/update-user-details/ description: "This page describes the method to modify or update a user's details signed up 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: "Modify a User's Details in the Console" url: /en/cloud-scale/help/authentication/user-management/users/implementation/#modify-a-users-details --- # Update Details of a User Catalyst allows you to [modify and update](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/implementation/#modify-a-users-details) the following details of an end-user: * First Name * Last name * [`ZAAID`](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/): `ZAAID` or Org ID, is a unique value that is generated by Catalyst to associate with an organization. * [RoleID](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/roles/implementation/): Role ID is the value generated by Catalyst that is assigned to a particular [user role](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/roles/introduction/). The SDK snippet below demonstrates updating an end-user's details using the `updateUser()` method. The first name of the user is updated in the example below. The `getUserID()` method will fetch the [User ID](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/) of the user. The UserID will be present in the *Users* > *User Management* section of the Authentication component. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.ZCUserDetail; import com.zc.component.users.ZCUser; ``` ```java ZCUser user = ZCUser.getInstance(); ZCUserDetail userDetail = user.getCurrentUser(); userDetail.setFirstName("Josh"); user.updateUser(userDetail.getUserId(), userDetail); ```