# Access the current user in a formula

**URL:** <https://community.fibery.io/t/access-the-current-user-in-a-formula/2566>\
**Category:** Get Help\
**Created:** [February 17, 2022, 5:34pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566 "2022-02-17T17:34:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claude\_de\_Loupy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/claude_de_loupy/32/1637_2.png) [@Claude\_de\_Loupy](https://community.fibery.io/u/Claude_de_Loupy)\
**Post date:** [February 17, 2022, 5:34pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566/1 "2022-02-17T17:34:24Z")

</div>

Hi.  
Is there a way to know the current user in a formula?

This would be to show to a given user if she has already voted for an idea or not.  
I can devise some ugly workarounds… but it would be great to have a nice way to do that.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 17, 2022, 6:13pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566/2 "2022-02-17T18:13:55Z")

</div>

It’s not possible.  
In general, one should expect that what is shown in a field (including the result of a formula) will be the same irrespective of who is logged in and viewing it.  
Formulas are calculated on the ‘backend’ and and given that two people can be simultaneously viewing the same formula field, there could be no ‘correct’ value.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [February 17, 2022, 6:37pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566/3 "2022-02-17T18:37:55Z")

</div>

In the case of a Rule or Script that is triggered by a user’s interaction with a field (e.g. Button), it could be very useful to allow the Rule/script to access the user.

The value could be blank/null for cases where a Rule/script was not triggered by a user.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 17, 2022, 7:16pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566/4 "2022-02-17T19:16:44Z")

</div>

> [@Matt\_Blais](#):
>
> it could be very useful to allow the Rule/script to access the user

It’s already possible, sort-of:

> [@CHANGELOG: Feb 2 / Guestssss (experimental), Feed View, Bitbucket integration, many fixed bugs](https://community.fibery.io/t/changelog-feb-2-guestssss-experimental-feed-view-bitbucket-integration-many-fixed-bugs/2476):
>
> cheese Guests (free read-only users) #experimental You can cautiously try Guests. These are free users (no pay) that can only read things in Fibery and do nothing more. You can add them into groups and into Spaces as usual users. Enable Guests Users in Experimental Features menu and let us know if you spot a bug. wastebasket Bitbucket integration Now you can sync Bitbucket data into Fibery, link PR to Features, etc. Navigate to any Space and click …

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [February 17, 2022, 9:03pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566/5 "2022-02-17T21:03:29Z")

</div>

> [@Chr1sG](#):
>
> It’s already possible, sort-of:

It looks like it’s available as `CurrentUser` in Template and Scripts, but not directly in Rules or Formulas.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 17, 2022, 9:21pm UTC](https://community.fibery.io/t/access-the-current-user-in-a-formula/2566/6 "2022-02-17T21:21:04Z")

</div>

Yep, you need to use a script to make the most of it.
