# Slicer Application Settings: User

**URL:** <https://discourse.slicer.org/t/slicer-application-settings-user/8141>\
**Category:** Support\
**Created:** [August 23, 2019, 1:37am UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141 "2019-08-23T01:37:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RayCui](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raycui/32/4517_2.png) [@RayCui](https://discourse.slicer.org/u/RayCui)\
**Post date:** [August 23, 2019, 1:37am UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141/1 "2019-08-23T01:37:18Z")

</div>

I found that there are user settings in the Application Settings of Slicer, which can record Name, Login, Email, Organization, etc. How can these user information be used? Will the user information be saved to a file when saving the data? No instructions were found in the user manual of the community. In addition, I found that these user settings do not seem to be mandatory, and will not be reminded to restart after the settings.  
Can anyone give me some information? Thank you.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 23, 2019, 3:29am UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141/2 "2019-08-23T03:29:20Z")

</div>

> [@RayCui](#):
>
> I found that there are user settings in the Application Settings of Slicer, which can record Name, Login, Email, Organization, etc. How can these user information be used?

User information is not used by Slicer core, only by certain extensions, such as Quantitative Reporting (to record who performed certain operations and record it in the exported DICOM structured report.

You can access the information like this: `slicer.app.applicationLogic().GetUserInformation()`.

---

<div class="post-metadata">

**Author:** ![RayCui](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raycui/32/4517_2.png) [@RayCui](https://discourse.slicer.org/u/RayCui)\
**Post date:** [August 23, 2019, 8:36am UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141/3 "2019-08-23T08:36:30Z")

</div>

Thanks for your reply, what should I do if I want to save the user information to the Annotation module’s save data file(such as \*.acsv) and Segmentation data(such as \*.seg.nrrd)? Should I modify the code of the slicer core(the part of save data)? Or use the Quantitative Reporting Extension feature that you mentioned to save user information? Do you have any suggestions?

In addition, I installed the Quantitative Reporting extension, but found that nothing happens when I click the “Retrieve and lost data” button.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 23, 2019, 4:35pm UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141/4 "2019-08-23T16:35:40Z")

</div>

> [@RayCui](#):
>
> Thanks for your reply, what should I do if I want to save the user information to the Annotation module’s save data file(such as \*.acsv) and Segmentation data(such as \*.seg.nrrd)?

You can save information to the name or description of points in .acsv file and custom segment tags in .seg.nrrd file.

> [@RayCui](#):
>
> Should I modify the code of the slicer core(the part of save data)?

No Slicer core changes are needed. You can create a module that adds an observer to each loaded annotation / segmentation node and updates point description / adds custom segment tag that contains user information. You can also save the information in the scene (.mrml file) or additional text file if user information does not need to be saved inside the annotation/segmentation files.

---

<div class="post-metadata">

**Author:** ![RayCui](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raycui/32/4517_2.png) [@RayCui](https://discourse.slicer.org/u/RayCui)\
**Post date:** [August 29, 2019, 1:34am UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141/5 "2019-08-29T01:34:53Z")

</div>

Thank you, Lassoan.

> [@lassoan](#):
>
> You can access the information like this: `slicer.app.applicationLogic().GetUserInformation()` .

I think this suggestion really helped me. But now I want to get user information from loadable module, what should I do? Can you give me some examples, such as Quantitative Reporting for python.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 29, 2019, 1:47am UTC](https://discourse.slicer.org/t/slicer-application-settings-user/8141/6 "2019-08-29T01:47:55Z")

</div>

Search for `applicationLogic` in Slicer source code to see how it can accessed from various parts of a module.
