ArcGIS API for JavaScript: Hosted/map_security_view (FeatureServer)
Built using the ArcGIS API for JavaScript