Thanks for the reply Don.
Thanks, Rohit Sinha On Thu, Apr 20, 2017 at 9:54 PM, Don Bosco Durai <[email protected]> wrote: > Rohit, we don’t have CLI client. But if you look into the REST APIs the > Admin is doing, you should be able to reuse them and implement what you are > looking for. > > Bosco > > > On 4/20/17, 5:17 PM, "rohit sinha" <[email protected]> wrote: > > Hello Don, > Thanks for the reply. > Actually, I want to do it from outside of Ranger Admin. I have an > external > service which needs all privileges for a user. I was able to make a > rest > call and get it but was wondering if there is any client which I can > use it > rather than opening an URL connection by myself and getting the data. > Is > there any such client ? > > Thanks. > > Thanks, > Rohit Sinha > > > On Thu, Apr 20, 2017 at 5:13 PM, Don Bosco Durai <[email protected]> > wrote: > > > 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 > > > > > > > > > > > > > > >
