# User Level Detection or Is Organization Member - Through Javascript?

**URL:** <https://vaultwarden.discourse.group/t/user-level-detection-or-is-organization-member-through-javascript/3160>\
**Category:** Uncategorized\
**Created:** [December 6, 2023, 4:09am UTC](https://vaultwarden.discourse.group/t/user-level-detection-or-is-organization-member-through-javascript/3160 "2023-12-06T04:09:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![compumatter](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/compumatter/32/1238_2.png) [@compumatter](https://vaultwarden.discourse.group/u/compumatter)\
**Post date:** [December 6, 2023, 4:09am UTC](https://vaultwarden.discourse.group/t/user-level-detection-or-is-organization-member-through-javascript/3160/1 "2023-12-06T04:09:59Z")

</div>

I am wishing to control the visible Organization button via JS code on page load / ajax. However I want to be sure that at least the first organization can be created as all users will be a member of it. To do this I would need to be able to detect either if this user is an organization member OR what user level this was. I understand if neither of these are available and so it goes… but if it is, please pass it along.

Thank you.

---

<div class="post-metadata">

**Author:** ![ShadowPulse](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/shadowpulse/32/1237_2.png) [@ShadowPulse](https://vaultwarden.discourse.group/u/ShadowPulse)\
**Post date:** [December 11, 2023, 9:41pm UTC](https://vaultwarden.discourse.group/t/user-level-detection-or-is-organization-member-through-javascript/3160/2 "2023-12-11T21:41:38Z")

</div>

I’ve noticed that you are pretty experienced here, and you always research so many helpful questions and post them for discussions. I couldn’t stop myself from admiring what you do for the community here.  
In your posts, I can always pinch something helpful for myself.
