Retrieving Module roles

1
Is there any way to retrieve the module roles in microflow?
asked
3 answers
3

Module roles no. But you can retrieve the roles of the user or all the roles.

Roles are stored in the entity “UserRole”.

Can be retrieved over the association "Userroles” for any user.

answered
2

You can not retrieve a module role in a microflow, you can however retrieve a userrole with the current user. 

$currentUser/UserRoles

answered
2

What do you want to achieve by retrieving module roles? I’m pretty sure there is a best practice without retrieving module roles.

answered