ArcGIS API for JavaScript: Registrering2/PublicReadOnly (MapServer) Built using the ArcGIS API for JavaScript