# How can I fetch the name of the User Source configured in my Ignition project properties using a script?

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-fetch-the-name-of-the-user-source-configured-in-my-ignition-project-properties-using-a-script/112029>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 7, 2025, 10:18am UTC](https://forum.inductiveautomation.com/t/how-can-i-fetch-the-name-of-the-user-source-configured-in-my-ignition-project-properties-using-a-script/112029 "2025-11-07T10:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Cose\_Peter1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cose_peter1/32/79174_2.png) [@Cose\_Peter1](https://forum.inductiveautomation.com/u/Cose_Peter1)\
**Post date:** [November 7, 2025, 10:39am UTC](https://forum.inductiveautomation.com/t/how-can-i-fetch-the-name-of-the-user-source-configured-in-my-ignition-project-properties-using-a-script/112029/2 "2025-11-07T10:39:56Z")

</div>

I once had the requirement to add users to the default userSource and this is how I did it.  
Not sure if we can just get the name of the userSource.

> [@Get the User Source the project is set to in perspective](https://forum.inductiveautomation.com/t/get-the-user-source-the-project-is-set-to-in-perspective/58979/4):
>
> Parameters String userSource - The user source to add a user to. If set to an empty string, the function will attempt to use the project’s default user source (if called from a project).

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-can-i-fetch-the-name-of-the-user-source-configured-in-my-ignition-project-properties-using-a-script/112029)._
