Skip to main content
Contributor
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
Expert
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.

Newcomer
October 23, 2024

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

ckattookaran_0-1729690165007.pngckattookaran_1-1729690194621.png

 

OscarAuthor
Contributor
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.