# Get the User Source the project is set to in perspective

**URL:** <https://forum.inductiveautomation.com/t/get-the-user-source-the-project-is-set-to-in-perspective/58979>\
**Category:** Ignition\
**Created:** [April 28, 2022, 11:33am UTC](https://forum.inductiveautomation.com/t/get-the-user-source-the-project-is-set-to-in-perspective/58979 "2022-04-28T11:33:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [April 29, 2022, 7:37am UTC](https://forum.inductiveautomation.com/t/get-the-user-source-the-project-is-set-to-in-perspective/58979/4 "2022-04-29T07:37:17Z")

</div>

- 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/get-the-user-source-the-project-is-set-to-in-perspective/58979)._
