# How to Batch Add Multiple Users to a Role in Ignition

**URL:** <https://forum.inductiveautomation.com/t/how-to-batch-add-multiple-users-to-a-role-in-ignition/107867>\
**Category:** Ignition\
**Created:** [June 27, 2025, 1:46am UTC](https://forum.inductiveautomation.com/t/how-to-batch-add-multiple-users-to-a-role-in-ignition/107867 "2025-06-27T01:46:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wang\_Tingyu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wang_tingyu/32/81276_2.png) [@Wang\_Tingyu](https://forum.inductiveautomation.com/u/Wang_Tingyu)\
**Post date:** [June 27, 2025, 1:46am UTC](https://forum.inductiveautomation.com/t/how-to-batch-add-multiple-users-to-a-role-in-ignition/107867/1 "2025-06-27T01:46:06Z")

</div>

Hi everyone,

I've created a role in Ignition and I need to add a bunch of users to it. Is there an easier way to do this in batch instead of adding each user one by one? Any tips or suggestions would be really appreciated!

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 27, 2025, 2:09am UTC](https://forum.inductiveautomation.com/t/how-to-batch-add-multiple-users-to-a-role-in-ignition/107867/2 "2025-06-27T02:09:35Z")

</div>

Check out the `system.user` functions: [system.user | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-user)

You'll want to use `system.user.getUser` and `system.user.editUser` on each user in the user source to add a role.

> **[system.user.getUser | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-user/system-user-getUser)**
>
> Looks up a specific user in a user source, by username.

> **[system.user.editUser | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-user/system-user-editUser)**
>
> Alters a specific user in a user source, replacing the previous data with the new data passed in.

> **[PyUser](https://files.inductiveautomation.com/sdk/javadoc/ignition80/8.0.12/com/inductiveautomation/ignition/common/user/PyUser.html)**

---

<div class="post-metadata">

**Author:** ![Wang\_Tingyu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wang_tingyu/32/81276_2.png) [@Wang\_Tingyu](https://forum.inductiveautomation.com/u/Wang_Tingyu)\
**Post date:** [June 27, 2025, 2:54am UTC](https://forum.inductiveautomation.com/t/how-to-batch-add-multiple-users-to-a-role-in-ignition/107867/3 "2025-06-27T02:54:01Z")

</div>

Just wanted to say a big thank you for all your help and guidance with the user roles! Your support has been super valuable and made things a lot easier for me. I really appreciate it!
