Forum Discussion

Oscar's avatar
Oscar
Contributor
2 months ago

Securty Roles Query

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.

 

 

 

 

  • 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.

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

     

  • MarcusH's avatar
    MarcusH
    Contributor III

    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.

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

     

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