Skip to main content
October 22, 2024
Solved

Securty Roles Query

  • October 22, 2024
  • 3 replies
  • 0 views

What is the best way to query the Security Roles and their assigned Security Groups in the Application. It would also be helpful to query security roles assigned to Workflows. Any ideas?? 😕 Thanks.


Oscar_0-1729601234501.png

 

 

 

 

Best answer by MarcusH

Security Groups on the Application Roles can be queried with BRApi.Security.Admin.GetApplicationRoles. I have retrieved the security groups against the Workflows by joining the SecGroup table with the WorkflowProfileHierarchy table.

3 replies

MarcusHAnswer
October 22, 2024

Security Groups on the Application Roles can be queried with BRApi.Security.Admin.GetApplicationRoles. I have retrieved the security groups against the Workflows by joining the SecGroup table with the WorkflowProfileHierarchy table.

October 23, 2024

I know you are looking for groups. However, there is a method query to get the workflowprofilerights.


ckattookaran_0-1729690165007.png

ckattookaran_1-1729690194621.png

 

OscarAuthor
October 25, 2024

Thank you so much for this! I have been creating a dictionary manually, but this will help me make sure I capture everything.