Is there an inbuilt webservice available to find the roles that the current user belongs to?
Is there an out of the box web service in Creatio that could be used to find all the roles that a user belongs to? Or to check if the user belongs to a particular role? Where can I find the documentation on all the inbuilt webservices provided by Creatio?
Like
Basically, you'll query SysUserInRole where the current user = the SysUser value. The SysRole lookup column will provide you the roles linked to this user.
See here: https://customerfx.com/article/determining-if-a-user-has-a-specific-role-in-bpmonline/
For a Freedom UI approach, see https://customerfx.com/article/showing-or-hiding-a-field-if-the-current-user-is-a-member-of-a-role-in-a-creatio-freedom-ui-page/
Ryan
Thanks Ryan. Is there a way to use a webservice for this requirement? Are there any out-of-the-box Webservices that can be called to check if the current user belongs a particular Role using Freedom UI approach ?