Is there a way to get the workspace object or the connection object or session object of the map service through the ESRI javascript API?
Is there a way to execute a sql/store proc to the workspace object or the connection object or session object through the ESRI javascript API to the map service?