Accessing the private services in service directory ArcGISPortal

Discussion created by humzarr on Sep 3, 2013
Latest reply on Sep 6, 2013 by akajanus-esristaff
Hi Everyone,

I want to know that when I access the services directory of ARCGIS online of my organization, I get in response only those services which are public. I want to access the services directory which will show me the services which are private as well. Is it possible? The method I am using right now is that I use IdentityManager to get the credentials of the user and then I use the credentials to GetItemsAsync() in order to get the items of the user public or private. But when I trim the url of the item to get to the Home directory of service and when I send the home directory of the services to json I get in response only the public services.

Thanks and Regards