I'm trying to get the list of all authorized services for a given user in ArcGIS 10.1 API for FLEX. I can't find a way to automatically list all of the services granted to my account.

I can fix the services in the configuration file but I need to get them automatically in case of any authorizations modifications made by the administrator.

Thank you in advance. N.


There is nothing in the Flex API that does that sort of metadata queries. You would have to make your own http request (using the Apache/Adobe Flex SDK) and parse the response to get that list. You can get the data back as xml using http://services.arcgisonline.com/ArcGIS/rest/services/?f=sitemap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.