# Script for admin to push user's preferences

**URL:** <https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668>\
**Category:** Get Help\
**Created:** [June 23, 2023, 7:35pm UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668 "2023-06-23T19:35:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 25, 2023, 3:35pm UTC](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668/4 "2023-06-25T15:35:16Z")

</div>

Slightly related (linked for the benefit of people who aren’t aware):

> [@Sidebar Space (aka App) sort order](https://community.fibery.io/t/sidebar-space-aka-app-sort-order/357/8):
>
> Here’s a tip if you (as an Admin) want to ‘push’ the left menu ordering you have to any other users: Create a button automation on the User db, and use the following script: const fibery = context.getService('fibery'); for (const entity of args.currentEntities) { const userToCopy = await fibery.getEntityById(entity.type, args.currentUser['Id'], ['fibery/menu-rank']); await fibery.updateEntity(entity.type, entity.id, { 'fibery/menu-rank': userToCopy['fibery/menu-rank'] }); } Then sele…

---

_[View the full topic](https://community.fibery.io/t/script-for-admin-to-push-users-preferences/4668)._
