# How to know if a user is supervisor of a process

**URL:** <https://discuss.workflowgen.com/t/how-to-know-if-a-user-is-supervisor-of-a-process/1715>\
**Category:** Development\
**Created:** [October 22, 2020, 3:10pm UTC](https://discuss.workflowgen.com/t/how-to-know-if-a-user-is-supervisor-of-a-process/1715 "2020-10-22T15:10:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvarlet](https://avatars.discourse-cdn.com/v4/letter/n/a8b319/32.png) [@nvarlet](https://discuss.workflowgen.com/u/nvarlet)\
**Post date:** [October 22, 2020, 3:10pm UTC](https://discuss.workflowgen.com/t/how-to-know-if-a-user-is-supervisor-of-a-process/1715/1 "2020-10-22T15:10:33Z")

</div>

Hello,

I’m actually implementing a new process in which I need to know if the connected user is supervisor of another process.

Is there any “standard” way (webservice, macro, application…) to know the permissions of a user in a selected process (process are listed in a drop down list).

Thanks

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [October 23, 2020, 5:18pm UTC](https://discuss.workflowgen.com/t/how-to-know-if-a-user-is-supervisor-of-a-process/1715/2 "2020-10-23T17:18:01Z")

</div>

Hi @nvarlet,

Are you looking for users in a Process Supervisor participant? Or users who have supervisor access to the process?

Process Managers and Administrators for example are not supervisors but do have supervisor permissions.

Regards,  
Eddy.

---

<div class="post-metadata">

**Author:** ![nvarlet](https://avatars.discourse-cdn.com/v4/letter/n/a8b319/32.png) [@nvarlet](https://discuss.workflowgen.com/u/nvarlet)\
**Post date:** [October 26, 2020, 8:35am UTC](https://discuss.workflowgen.com/t/how-to-know-if-a-user-is-supervisor-of-a-process/1715/3 "2020-10-26T08:35:29Z")

</div>

Hello @eddy.daouk,  
In my case, I’m looking for process supervisors.

My goal is to implement a function similar to the following one :

bool IsProcessSupervisor(processName, processVersion, username)

Regards.
