# Getting the ID of the current user in custom code

**URL:** https://community.yeeflow.com/t/getting-the-id-of-the-current-user-in-custom-code/448
**Category:** Ask the community
**Created:** [June 24, 2026, 1:34am UTC](https://community.yeeflow.com/t/getting-the-id-of-the-current-user-in-custom-code/448 "2026-06-24T01:34:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![howard](https://avatars.discourse-cdn.com/v4/letter/h/90ced4/32.png) [@howard](https://community.yeeflow.com/u/howard)
#### Post date: [June 24, 2026, 1:34am UTC](https://community.yeeflow.com/t/getting-the-id-of-the-current-user-in-custom-code/448/1 "2026-06-24T01:34:27Z")

</div>

I am using custom code in approval form. How do I get the ID of the current user. This will help me with the filtering to display user-specific data.
