--- title: "Get Current User" url: https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/authentication/get-current-user/ description: "You can obtain the details of the current end user of your Flutter 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( void Function() onSuccess, void Function(ZCatalystException) onFailed ) ``` A sample code snippet is shown below: ```bash try { var (response, user) = await app.getCurrentUser(); print('User ID: ${user.id}') } on ZCatalystException catch (ex) { print(ex.toString()); } ```