Support Questions
Find answers, ask questions, and share your expertise

How to know to which all polices a user have been associated with on Apache Ranger using Ranger APIs?

Explorer

If I have a user can 'admin', how to know what all polices this user have been associated with.

2 REPLIES 2

Expert Contributor

@Shashank V C

Try this API, this is used in policy search on Ranger admin UI.

/service/plugins/policies/service/1?page=0&pageSize=25&total_pages=1&totalCount=3&startIndex=0&policyType=0&user=admin&_=1519109502484

Explorer

Hi Nixon, thanks a lot it worked. 1. Is there any way to give multiple user names in the API to filter policies with 2 users

2. Is there any way I can filter the resources according to Resource path

; ;