You should be able to see the policies from Ranger Admin portal:

Access Manager -> Reports -> Use “Search By” Username.

Bosco


On 4/20/17, 11:15 AM, "rohit sinha" <[email protected]> wrote:

    Can someone help by answering this please.
    
    Thanks
    
    Thanks,
    Rohit Sinha
    
    
    On Mon, Apr 17, 2017 at 8:02 PM, rohit sinha <[email protected]>
    wrote:
    
    > Hello,
    >
    > I will like to list all the policies for a user in Ranger. I was able to
    > do it through the REST API here
    > https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Service+
    > Definition%2C+Service+and+Policy+Management#RESTAPIsforServiceDefinition,
    > ServiceandPolicyManagement-SearchPoliciesinaService
    >
    > Although I want to do this programmatically. Is there any existing client
    > on top of this API to search for policies or list policies for a user ?
    >
    > Thanks
    >
    


Reply via email to