# \#array

**URL:** https://forum.communityhealthtoolkit.org/tag/array/185.md

[Latest](https://forum.communityhealthtoolkit.org/latest.md) · [Categories](https://forum.communityhealthtoolkit.org/categories.md) · [Tags](https://forum.communityhealthtoolkit.org/tags.md)

---

## [Retrieving roles array of user](https://forum.communityhealthtoolkit.org/t/retrieving-roles-array-of-user/1635)

<div class="topic-metadata">

**Author:** [@uensal](https://forum.communityhealthtoolkit.org/u/uensal)\
**Replies:** 11\
**Last updated:** [July 27, 2022, 11:51am UTC](https://forum.communityhealthtoolkit.org/t/retrieving-roles-array-of-user/1635 "2022-07-27T11:51:35Z")

</div>

Dear community How am I able to get all the roles that the logged-in user has? I tried it with the following line in the xlsxForm, but I never get any results. @diana or @mrjones would any of you maybe be able t…
