Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

roleQuery in getRoles API

aksharkay
New Contributor III
New Contributor III

Hi,

We have a requirement to use the roleQuery attribute in Saviynt getRoles API to fetch all enterprise roles except the inactive ones.

I tried something like "roleQuery": "r.status != 0" but it still returns the inactive roles from the system.

Any help on this would be much appreciated.

Thanks & Regards,

Akshar

2 REPLIES 2

stalluri
Regular Contributor II
Regular Contributor II

@aksharkay 

Can you try.

"roleQuery": "r.role_status != 0"


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

rushikeshvartak
All-Star
All-Star

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.