--- title: "Get Current User" url: https://docs.catalyst.zoho.com/en/sdk/android/v2/cloud-scale/authentication/get-current-user/ description: "You can obtain the details of the current end user of your application." last_updated: 2025-11-19T15:07: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: "Add New User - API" url: /en/api/code-reference/cloud-scale/authentication/add-new-user/#AddNewUser --- # Get Current User You can obtain the details of the current [end user](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/) of your application by calling the `getCurrentUser()` method. Upon successful execution, this method will return the current user object. You can fetch the user's details that are registered in Catalyst, such as their first name, last name, or email address, using this. The code syntax for obtaining the current user is given below: ```bash ZCatalystApp.getInstance().getCurrentUser( success: (ZCatalystUser) → Unit, failure: ((ZCatalystException) → Unit)? ): ZCatalystRequest<ZCatalystResponse<ZCatalystUser>>? ``` A sample code snippet is shown below: ```bash ZCatalystApp.getInstance().getCurrentUser( { user -> println("The current user is : ${user.firstName}") }, { exception -> println("Get current user failed! $exception") } ) ```