Properties of your GIS

The gis module has various classes such as Item, Group, User, Role etc. to represent various elements of your GIS and its information model. Along those lines, you can get to know about the settings on your GIS using the properties property of the GIS class.

In [ ]:
# connect to ArcGIS Online anonymously
from arcgis.gis import GIS
ago_gis = GIS()

Let us view a few of the properties below:

In [ ]:
ago_gis.properties.portalName
Out[ ]:
'ArcGIS Online'
In [ ]:
ago_gis.properties.customBaseUrl
Out[ ]:
'maps.arcgis.com'

Let us connect to an org hosted on ArcGIS Online

In [ ]:
org_gis = GIS("https://www.arcgis.com", "username", "password")
In [ ]:
org_gis.properties.availableCredits
Out[ ]:
95663.45
In [ ]:
org_gis.properties.isPortal
Out[ ]:
False
In [ ]:
org_gis.properties.name
Out[ ]:
'Dinoco'

A value that is not set, will be returned as -1 by the GIS

In [ ]:
org_gis.properties.maxTokenExpirationMinutes
Out[ ]:
-1

Let us connect to an ArcGIS Enterprise and view some of its properties

In [ ]:
ent_gis = GIS("portal url", "username", "password")
In [ ]:
ent_gis.properties.access
Out[ ]:
'public'
In [ ]:
ent_gis.properties.canSignInArcGIS
Out[ ]:
True
In [ ]:
ent_gis.properties.canSignInIDP
Out[ ]:
True

You can get information about the ArcGIS Server instances powering various helper tasks by querying helperServices

In [ ]:
ent_gis.properties.helperServices
Out[ ]:
{
  "serviceArea": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/973de51c54cb4edcb6abd8cd39baa1cc/rest/services/World/ServiceAreas/NAServer/ServiceArea_World"
  },
  "elevation": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/3dee2882a1494e1b9bac7fe2d390ac54/rest/services/Tools/Elevation/GPServer"
  },
  "asyncRoute": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/9db29694bb894c46b49f9084bc82d716/rest/services/World/Route/GPServer"
  },
  "rasterAnalytics": {
    "url": "https://dev003248.esri.com/rax/rest/services/System/RasterAnalysisTools/GPServer"
  },
  "printTask": {
    "url": "https://Dev003246.esri.com/server/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",
    "templates": [
      {
        "label": "MAP_ONLY",
        "format": "PNG32",
        "layout": "MAP_ONLY"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "A3 Landscape",
        "format": "PNG32",
        "layout": "A3 Landscape"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "A3 Portrait",
        "format": "PNG32",
        "layout": "A3 Portrait"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "A4 Landscape",
        "format": "PNG32",
        "layout": "A4 Landscape"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "A4 Portrait",
        "format": "PNG32",
        "layout": "A4 Portrait"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "Letter ANSI A Landscape",
        "format": "PNG32",
        "layout": "Letter ANSI A Landscape"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "Letter ANSI A Portrait",
        "format": "PNG32",
        "layout": "Letter ANSI A Portrait"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "Tabloid ANSI B Landscape",
        "format": "PNG32",
        "layout": "Tabloid ANSI B Landscape"
      },
      {
        "layoutOptions": {
          "legend": false
        },
        "label": "Tabloid ANSI B Portrait",
        "format": "PNG32",
        "layout": "Tabloid ANSI B Portrait"
      }
    ]
  },
  "asyncServiceArea": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/a615b2d91fd64f8eba53b79bd6ccf3ef/rest/services/World/ServiceAreas/GPServer/GenerateServiceAreas"
  },
  "geometry": {
    "url": "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer"
  },
  "analysis": {
    "url": "https://Dev003246.esri.com/server/rest/services/System/SpatialAnalysisTools/GPServer"
  },
  "closestFacility": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/5dbbf7512a694df4807703dd869b240a/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World"
  },
  "geocode": [
    {
      "batch": true,
      "url": "https://dev003246.esri.com/portal/sharing/servers/0c3bab137e6042cab1ea6768ae4b405b/rest/services/World/GeocodeServer",
      "name": "Esri World Batch Geocoder",
      "singleLineFieldName": "SingleLine",
      "placeholder": "Find address or place",
      "zoomScale": 10000,
      "placefinding": true,
      "suggest": true
    },
    {
      "url": "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer",
      "name": "Esri World Geocoder",
      "southLat": "Ymin",
      "eastLon": "Xmax",
      "westLon": "Xmin",
      "suggest": true,
      "northLat": "Ymax"
    }
  ],
  "syncVRP": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/2485c030d0584ad6aa8715f91f33e22c/rest/services/World/VehicleRoutingProblemSync/GPServer/EditVehicleRoutingProblem"
  },
  "routingUtilities": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/050c27d46b36421ab3875bb99382d960/rest/services/World/Utilities/GPServer"
  },
  "asyncClosestFacility": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/d6da1f29cd4c4928b26e33e0f637b65b/rest/services/World/ClosestFacility/GPServer/FindClosestFacilities"
  },
  "asyncODCostMatrix": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/dad77a4c66d344d1af49f48a224ce7ea/rest/services/World/OriginDestinationCostMatrix/GPServer"
  },
  "asyncVRP": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/d6954bee06cb4a5fb30bf33dcc8f4388/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem"
  },
  "traffic": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/22f899a27f014c2b89c43da3c7dd23a4/rest/services/World/Traffic/MapServer"
  },
  "geoanalytics": {
    "url": "https://dev003247.esri.com/gax/rest/services/System/GeoAnalyticsTools/GPServer"
  },
  "hydrology": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/7094a7f499e5490d84e4fcabd0ecdc7c/rest/services/Tools/Hydrology/GPServer"
  },
  "geoenrichment": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/8fba362d3ca44973a5747c5717b604cd/rest/services/World/GeoenrichmentServer"
  },
  "asyncLocationAllocation": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/24873b34c1cb4843a31ad8b0d030f63a/rest/services/World/LocationAllocation/GPServer"
  },
  "defaultElevationLayers": [
    {
      "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",
      "id": "globalElevation",
      "layerType": "ArcGISTiledElevationServiceLayer",
      "name": "Terrain3D"
    }
  ],
  "route": {
    "url": "https://dev003246.esri.com/portal/sharing/servers/f3ea1ac70d974064879fd33054928d1a/rest/services/World/Route/NAServer/Route_World"
  },
  "elevationSync": {
    "url": "https://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer"
  }
}
In [ ]:
ent_gis.properties.isPortal
Out[ ]:
True
In [ ]:
ent_gis.properties.portalMode
Out[ ]:
'singletenant'
In [ ]:
ent_gis.properties.samlEnabled
Out[ ]:
False

Finally, you can get a dictionary representation of all the properties:

In [ ]:
from IPython.display import display
display(dict(ent_gis.properties))
{'EsriBoundaryLayersGroupQuery': 'title:"Esri Boundary Layers" AND owner:esri_boundaries ',
 'EsriDemographicLayersGroupQuery': 'title:"Esri Demographic Layers" AND owner:esri_demographics',
 'access': 'public',
 'allSSL': False,
 'allowedRedirectUris': [],
 'analysisLayersGroupQuery': '',
 'authorizedCrossOriginDomains': [],
 'availableCredits': 0.0,
 'basemapGalleryGroupQuery': 'title:"ArcGIS Online Basemaps" AND owner:esri_en',
 'canListApps': True,
 'canListData': True,
 'canListPreProvisionedItems': True,
 'canProvisionDirectPurchase': True,
 'canSearchPublic': True,
 'canShareBingPublic': False,
 'canSharePublic': True,
 'canSignInArcGIS': True,
 'canSignInIDP': True,
 'colorSetsGroupQuery': 'title:"Esri Colors" AND owner:esri_en',
 'commentsEnabled': False,
 'created': 1359036000000,
 'culture': 'en',
 'currentVersion': '4.4',
 'customBaseUrl': 'portal',
 'databaseQuota': 0,
 'databaseUsage': 0,
 'defaultBasemap': {'baseMapLayers': [{'resourceInfo': {'capabilities': 'Map,Tilemap,Query,Data',
     'copyrightText': 'Sources: Esri, HERE, DeLorme, Intermap, increment P Corp., GEBCO, USGS, FAO, NPS, NRCAN, GeoBase, IGN, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), swisstopo, MapmyIndia, © OpenStreetMap contributors, and the GIS User Community',
     'currentVersion': 10.3,
     'description': 'This map is designed to be used as a basemap by GIS professionals and as a reference map by anyone. The map includes administrative boundaries, cities, water features, physiographic features, parks, landmarks, highways, roads, railways, and airports overlaid on land cover and shaded relief imagery for added context. The map provides coverage for the world down to a scale of ~1:72k. Coverage is provided down to ~1:4k for the following areas: Australia and New Zealand; India; Europe; Canada; Mexico; the continental United States and Hawaii; South America and Central America; Africa; and most of the Middle East. Coverage down to ~1:1k and ~1:2k is available in select urban areas. This basemap was compiled from a variety of best available sources from several data providers, including the U.S. Geological Survey (USGS), U.S. Environmental Protection Agency (EPA), U.S. National Park Service (NPS), Food and Agriculture Organization of the United Nations (FAO), Department of Natural Resources Canada (NRCAN), GeoBase, Agriculture and Agri-Food Canada, DeLorme, HERE, Esri, OpenStreetMap contributors, and the GIS User Community. For more information on this map, including our terms of use, visit us online at http://goto.arcgisonline.com/maps/World_Topo_Map',
     'documentInfo': {'AntialiasingMode': 'None',
      'Author': 'Esri',
      'Category': 'imageryBaseMapsEarthCover (Imagery, basemaps, and land cover)',
      'Comments': '',
      'Keywords': 'World,Global,Europe,North America,South America,Southern Africa,Australia,New Zealand,India',
      'Subject': 'topographic, topography, administrative boundaries, cities, water features, physiographic features, parks, landmarks, highways, roads, railways, airports, land cover, shaded relief imagery',
      'TextAntialiasingMode': 'Force',
      'Title': 'World Topographic Map'},
     'exportTilesAllowed': False,
     'fullExtent': {'spatialReference': {'latestWkid': 3857, 'wkid': 102100},
      'xmax': 20037507.067161843,
      'xmin': -20037507.067161843,
      'ymax': 19971868.88040863,
      'ymin': -19971868.880408604},
     'initialExtent': {'spatialReference': {'latestWkid': 3857,
       'wkid': 102100},
      'xmax': 28848255.049479112,
      'xmin': -28848255.049479112,
      'ymax': 16430757.376790084,
      'ymin': -2077452.082122866},
     'layers': [{'defaultVisibility': False,
       'id': 0,
       'maxScale': 0,
       'minScale': 0,
       'name': 'Citations',
       'parentLayerId': -1,
       'subLayerIds': 'Portal for ArcGIS'}],
     'mapName': 'Layers',
     'maxImageHeight': 4096,
     'maxImageWidth': 4096,
     'maxRecordCount': 100,
     'maxScale': 70.5310735,
     'minScale': 591657527.591555,
     'serviceDescription': 'This map is designed to be used as a basemap by GIS professionals and as a reference map by anyone. The map includes administrative boundaries, cities, water features, physiographic features, parks, landmarks, highways, roads, railways, and airports overlaid on land cover and shaded relief imagery for added context. The map provides coverage for the world down to a scale of ~1:72k. Coverage is provided down to ~1:4k for the following areas: Australia and New Zealand; India; Europe; Canada; Mexico; the continental United States and Hawaii; South America and Central America; Africa; and most of the Middle East. Coverage down to ~1:1k and ~1:2k is available in select urban areas. This basemap was compiled from a variety of best available sources from several data providers, including the U.S. Geological Survey (USGS), U.S. Environmental Protection Agency (EPA), U.S. National Park Service (NPS), Food and Agriculture Organization of the United Nations (FAO), Department of Natural Resources Canada (NRCAN), GeoBase, Agriculture and Agri-Food Canada, DeLorme, HERE, Esri, OpenStreetMap contributors, and the GIS User Community. For more information on this map, including the terms of use, visit us <a href="http://goto.arcgisonline.com/maps/World_Topo_Map " target="_new" >online</a>.',
     'singleFusedMapCache': True,
     'spatialReference': {'latestWkid': 3857, 'wkid': 102100},
     'supportedExtensions': 'KmlServer',
     'supportedImageFormatTypes': 'PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP',
     'supportedQueryFormats': 'JSON, AMF',
     'supportsDynamicLayers': False,
     'tables': [],
     'tileInfo': {'cols': 256,
      'compressionQuality': 90,
      'dpi': 96,
      'format': 'JPEG',
      'lods': [{'level': 0,
        'resolution': 156543.03392800014,
        'scale': 591657527.591555},
       {'level': 1,
        'resolution': 78271.51696399994,
        'scale': 295828763.795777},
       {'level': 2,
        'resolution': 39135.75848200009,
        'scale': 147914381.897889},
       {'level': 3, 'resolution': 19567.87924099992, 'scale': 73957190.948944},
       {'level': 4, 'resolution': 9783.93962049996, 'scale': 36978595.474472},
       {'level': 5, 'resolution': 4891.96981024998, 'scale': 18489297.737236},
       {'level': 6, 'resolution': 2445.98490512499, 'scale': 9244648.868618},
       {'level': 7, 'resolution': 1222.992452562495, 'scale': 4622324.434309},
       {'level': 8, 'resolution': 611.4962262813797, 'scale': 2311162.217155},
       {'level': 9, 'resolution': 305.74811314055756, 'scale': 1155581.108577},
       {'level': 10, 'resolution': 152.87405657041106, 'scale': 577790.554289},
       {'level': 11, 'resolution': 76.43702828507324, 'scale': 288895.277144},
       {'level': 12, 'resolution': 38.21851414253662, 'scale': 144447.638572},
       {'level': 13, 'resolution': 19.10925707126831, 'scale': 72223.819286},
       {'level': 14, 'resolution': 9.554628535634155, 'scale': 36111.909643},
       {'level': 15, 'resolution': 4.77731426794937, 'scale': 18055.954822},
       {'level': 16, 'resolution': 2.388657133974685, 'scale': 9027.977411},
       {'level': 17, 'resolution': 1.1943285668550503, 'scale': 4513.988705},
       {'level': 18, 'resolution': 0.5971642835598172, 'scale': 2256.994353},
       {'level': 19, 'resolution': 0.29858214164761665, 'scale': 1128.497176},
       {'level': 20, 'resolution': 0.14929107082380833, 'scale': 564.248588},
       {'level': 21, 'resolution': 0.07464553541190416, 'scale': 282.124294},
       {'level': 22, 'resolution': 0.03732276770595208, 'scale': 141.062147},
       {'level': 23, 'resolution': 0.01866138385297604, 'scale': 70.5310735}],
      'origin': {'x': -20037508.342787, 'y': 20037508.342787},
      'rows': 256,
      'spatialReference': {'latestWkid': 3857, 'wkid': 102100}},
     'units': 'esriMeters'},
    'url': 'http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer'}],
  'title': 'Topographic'},
 'defaultExtent': {'spatialReference': {'wkid': 102100},
  'type': 'extent',
  'xmax': 17999999.999997277,
  'xmin': -17999999.999997277,
  'ymax': 15999999.999991486,
  'ymin': -11999999.999995913},
 'defaultUserCreditAssignment': -1,
 'description': '<br>',
 'disableSignup': False,
 'featuredGroups': [{'owner': 'admin', 'title': 'Featured Maps and Apps'}],
 'featuredGroupsId': '',
 'featuredItemsGroupQuery': '',
 'galleryTemplatesGroupQuery': 'title:"Gallery Templates" AND owner:esri_en',
 'helpBase': '/portal/portalhelp/en/website/help/',
 'helpMap': {'m': {'120000454': '0193/01930000000p000000.htm',
   '120000455': '0193/019300000002000000.htm',
   '120000456': '0193/01930000000w000000.htm',
   '120000463': '0193/01930000001r000000.htm',
   '120000464': '0193/019300000048000000.htm',
   '120000465': '0193/01930000000t000000.htm',
   '120000467': '0193/01930000003m000000.htm#FILE',
   '120000468': '0193/019300000018000000.htm',
   '120000469': '0193/019300000095000000.htm',
   '120000470': '0193/01930000004q000000.htm',
   '120000471': '0193/01930000002q000000.htm',
   '120000473': '0193/01930000003t000000.htm',
   '120000474': '0193/01930000003m000000.htm',
   '120000516': '0193/019300000022000000.htm#WEB_STORAGE',
   '120000597': '0193/01930000004v000000.htm',
   '120000814': '0193/01930000000n000000.htm',
   '120000815': '0193/019300000098000000.htm',
   '120000816': '0193/019300000099000000.htm',
   '120000817': '0193/01930000009m000000.htm',
   '120000899': '0193/0193000000m8000000.htm',
   '120000900': '0193/0193000000wv000000.htm',
   '120000902': '0193/01930000009t000000.htm',
   '120000943': '0193/0193000000p0000000.htm',
   '120000944': '0193/0193000000r1000000.htm',
   '120000945': '0193/0193000000rs000000.htm',
   '120000946': '0193/0193000000t0000000.htm',
   '120000947': '0193/0193000000qw000000.htm',
   '120000948': '0193/0193000000r3000000.htm',
   '120000949': '0193/0193000000q5000000.htm',
   '120000950': '0193/0193000000p3000000.htm',
   '120000951': '0193/0193000000n7000000.htm',
   '120000952': '0193/0193000000pm000000.htm',
   '120000953': '0193/0193000000n8000000.htm',
   '120000954': '0193/0193000000n4000000.htm',
   '120000955': '0193/0193000000nz000000.htm',
   '120000956': '0193/0193000000r6000000.htm',
   '120000957': '0193/0193000000qt000000.htm',
   '120000958': '0193/0193000000nr000000.htm',
   '120000959': '0193/0193000000nv000000.htm',
   '120000960': '0193/0193000000pq000000.htm',
   '120000961': '0193/0193000000q6000000.htm',
   '120000964': '0193/0193000000tn000000.htm',
   '120000966': '0193/0193000000tp000000.htm',
   '120000969': '0193/019300000032000000.htm#REG_APP',
   '120000999': '0193/0193000000w4000000.htm',
   '120001019': '0193/0193000000z8000000.htm',
   '120001020': '0193/0193000000w6000000.htm',
   '120001021': '0193/0193000000w5000000.htm',
   '120001028': '0193/0193000000z2000000.htm',
   '120001029': '0193/0193000000w8000000.htm',
   '120001032': '0193/0193000000z4000000.htm',
   '120001033': '0193/0193000000z6000000.htm',
   '120001034': '0193/0193000000z3000000.htm',
   '120001035': '0193/0193000000z5000000.htm',
   '120001036': '0193/0193000000z7000000.htm',
   '120001055': '0193/0193000000ts000000.htm',
   '120001057': '0193/0193000000zr000000.htm',
   '120001058': '0193/0193000000zv000000.htm',
   '120001059': '0193/0193000000zt000000.htm',
   '120001060': '0193/0193000000zs000000.htm',
   '120001061': '0193/0193000000zw000000.htm',
   '120001075': '0193/01930000010m000000.htm',
   '120001076': '0193/01930000010t000000.htm',
   '120001077': '0193/019300000108000000.htm',
   '120001078': '0193/019300000109000000.htm',
   '120001079': '0193/01930000010n000000.htm',
   '120001080': '0193/019300000107000000.htm',
   '120001081': '0193/019300000106000000.htm',
   '120001082': '0193/019300000110000000.htm',
   '120001083': '0193/01930000010q000000.htm',
   '120001084': '0193/01930000010v000000.htm',
   '120001085': '0193/01930000010w000000.htm',
   '120001086': '0193/01930000010z000000.htm',
   '120001087': '0193/01930000010p000000.htm',
   '120001088': '0193/01930000010s000000.htm',
   '120001090': '0193/0193000000sw000000.htm',
   '120001093': '0193/01930000010r000000.htm',
   '120001094': '0193/019300000112000000.htm',
   '120001095': '0193/019300000111000000.htm',
   '120001096': '0193/019300000113000000.htm',
   '120001098': '0193/01930000003q000000.htm',
   '120001118': '0193/01930000000n000000.htm',
   '120001132': '0193/01930000000n000000.htm#ONE_LAYER',
   '120001135': '0193/01930000012s000000.htm',
   '120001136': '0193/01930000012n000000.htm',
   '120001137': '0193/01930000012p000000.htm',
   '120001138': '0193/01930000012r000000.htm',
   '120001139': '0193/01930000012v000000.htm',
   '120001140': '0193/01930000012t000000.htm',
   '120001141': '0193/01930000012q000000.htm'},
  'v': '1.0'},
 'helperServices': {'analysis': {'url': 'https://Dev003246.esri.com/server/rest/services/System/SpatialAnalysisTools/GPServer'},
  'asyncClosestFacility': {'url': 'https://dev003246.esri.com/portal/sharing/servers/d6da1f29cd4c4928b26e33e0f637b65b/rest/services/World/ClosestFacility/GPServer/FindClosestFacilities'},
  'asyncLocationAllocation': {'url': 'https://dev003246.esri.com/portal/sharing/servers/24873b34c1cb4843a31ad8b0d030f63a/rest/services/World/LocationAllocation/GPServer'},
  'asyncODCostMatrix': {'url': 'https://dev003246.esri.com/portal/sharing/servers/dad77a4c66d344d1af49f48a224ce7ea/rest/services/World/OriginDestinationCostMatrix/GPServer'},
  'asyncRoute': {'url': 'https://dev003246.esri.com/portal/sharing/servers/9db29694bb894c46b49f9084bc82d716/rest/services/World/Route/GPServer'},
  'asyncServiceArea': {'url': 'https://dev003246.esri.com/portal/sharing/servers/a615b2d91fd64f8eba53b79bd6ccf3ef/rest/services/World/ServiceAreas/GPServer/GenerateServiceAreas'},
  'asyncVRP': {'url': 'https://dev003246.esri.com/portal/sharing/servers/d6954bee06cb4a5fb30bf33dcc8f4388/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem'},
  'closestFacility': {'url': 'https://dev003246.esri.com/portal/sharing/servers/5dbbf7512a694df4807703dd869b240a/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World'},
  'defaultElevationLayers': [{'id': 'globalElevation',
    'layerType': 'ArcGISTiledElevationServiceLayer',
    'name': 'Terrain3D',
    'url': 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer'}],
  'elevation': {'url': 'https://dev003246.esri.com/portal/sharing/servers/3dee2882a1494e1b9bac7fe2d390ac54/rest/services/Tools/Elevation/GPServer'},
  'elevationSync': {'url': 'https://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer'},
  'geoanalytics': {'url': 'https://dev003247.esri.com/gax/rest/services/System/GeoAnalyticsTools/GPServer'},
  'geocode': [{'batch': True,
    'name': 'Esri World Batch Geocoder',
    'placefinding': True,
    'placeholder': 'Find address or place',
    'singleLineFieldName': 'SingleLine',
    'suggest': True,
    'url': 'https://dev003246.esri.com/portal/sharing/servers/0c3bab137e6042cab1ea6768ae4b405b/rest/services/World/GeocodeServer',
    'zoomScale': 10000},
   {'eastLon': 'Xmax',
    'name': 'Esri World Geocoder',
    'northLat': 'Ymax',
    'southLat': 'Ymin',
    'suggest': True,
    'url': 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer',
    'westLon': 'Xmin'}],
  'geoenrichment': {'url': 'https://dev003246.esri.com/portal/sharing/servers/8fba362d3ca44973a5747c5717b604cd/rest/services/World/GeoenrichmentServer'},
  'geometry': {'url': 'https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer'},
  'hydrology': {'url': 'https://dev003246.esri.com/portal/sharing/servers/7094a7f499e5490d84e4fcabd0ecdc7c/rest/services/Tools/Hydrology/GPServer'},
  'printTask': {'templates': [{'format': 'PNG32',
     'label': 'MAP_ONLY',
     'layout': 'MAP_ONLY'},
    {'format': 'PNG32',
     'label': 'A3 Landscape',
     'layout': 'A3 Landscape',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'A3 Portrait',
     'layout': 'A3 Portrait',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'A4 Landscape',
     'layout': 'A4 Landscape',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'A4 Portrait',
     'layout': 'A4 Portrait',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'Letter ANSI A Landscape',
     'layout': 'Letter ANSI A Landscape',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'Letter ANSI A Portrait',
     'layout': 'Letter ANSI A Portrait',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'Tabloid ANSI B Landscape',
     'layout': 'Tabloid ANSI B Landscape',
     'layoutOptions': {'legend': False}},
    {'format': 'PNG32',
     'label': 'Tabloid ANSI B Portrait',
     'layout': 'Tabloid ANSI B Portrait',
     'layoutOptions': {'legend': False}}],
   'url': 'https://Dev003246.esri.com/server/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task'},
  'rasterAnalytics': {'url': 'https://dev003248.esri.com/rax/rest/services/System/RasterAnalysisTools/GPServer'},
  'route': {'url': 'https://dev003246.esri.com/portal/sharing/servers/f3ea1ac70d974064879fd33054928d1a/rest/services/World/Route/NAServer/Route_World'},
  'routingUtilities': {'url': 'https://dev003246.esri.com/portal/sharing/servers/050c27d46b36421ab3875bb99382d960/rest/services/World/Utilities/GPServer'},
  'serviceArea': {'url': 'https://dev003246.esri.com/portal/sharing/servers/973de51c54cb4edcb6abd8cd39baa1cc/rest/services/World/ServiceAreas/NAServer/ServiceArea_World'},
  'syncVRP': {'url': 'https://dev003246.esri.com/portal/sharing/servers/2485c030d0584ad6aa8715f91f33e22c/rest/services/World/VehicleRoutingProblemSync/GPServer/EditVehicleRoutingProblem'},
  'traffic': {'url': 'https://dev003246.esri.com/portal/sharing/servers/22f899a27f014c2b89c43da3c7dd23a4/rest/services/World/Traffic/MapServer'}},
 'homePageFeaturedContent': '',
 'homePageFeaturedContentCount': 12,
 'hostedServerHostedFolder': 'Hosted',
 'httpPort': 80,
 'httpsPort': 443,
 'id': '0123456789ABCDEF',
 'isPortal': True,
 'isWindows': True,
 'layerTemplatesGroupQuery': 'title:"Esri Layer Templates" AND owner:esri_en',
 'livingAtlasGroupQuery': 'title:"Living Atlas" AND owner:esri_livingatlas',
 'maxTokenExpirationMinutes': -1,
 'metadataEditable': False,
 'metadataFormats': ['iso19139-3.2'],
 'mfaAdmins': [],
 'mfaEnabled': False,
 'modified': 1359036000000,
 'name': 'Portal for ArcGIS',
 'platform': 'Windows Server 2012 R2',
 'portalHostname': 'dev003246.esri.com/portal',
 'portalLocalHostname': 'DEV003246.ESRI.COM',
 'portalLocalHttpPort': 7080,
 'portalLocalHttpsPort': 7443,
 'portalMode': 'singletenant',
 'portalName': 'Portal for ArcGIS',
 'portalProperties': {'links': {}, 'showSocialMediaLinks': True},
 'portalThumbnail': None,
 'rotatorPanels': [{'id': 'banner-2',
   'innerHTML': "<img src='images/banner-2.jpg' style='-webkit-border-radius:0 0 10px 10px; -moz-border-radius:0 0 10px 10px; -o-border-radius:0 0 10px 10px; border-radius:0 0 10px 10px; margin-top:0; width:960px; height:180px;'/><div style='position:absolute; bottom:80px; left:80px; max-height:65px; width:660px; margin:0;'><span style='position:absolute; bottom:0; margin-bottom:0; line-height:normal; font-family:HelveticaNeue,Verdana; font-weight:600; font-size:32px; color:#369;'>Portal for ArcGIS</span></div>"}],
 'samlEnabled': False,
 'showHomePageDescription': False,
 'staticImagesUrl': '/portal/portalimages',
 'storageQuota': 107374182400,
 'storageUsage': 123934598,
 'stylesGroupQuery': 'title:"Esri Styles" AND owner:esri_en',
 'supportsHostedServices': True,
 'supportsOAuth': True,
 'supportsSceneServices': True,
 'symbolSetsGroupQuery': 'title:"Esri Symbols" AND owner:esri_en',
 'templatesGroupQuery': 'title:"Web Application Templates" AND owner:esri_en',
 'thumbnail': None,
 'units': 'english',
 'updateUserProfileDisabled': False,
 'useStandardizedQuery': True,
 'user': {'access': 'public',
  'created': 1478923377638,
  'culture': None,
  'description': None,
  'disabled': False,
  'email': 'amani@esri.com',
  'favGroupId': '03043249fbbd4d86bb9e304b1a95e5cf',
  'firstName': 'arcgis',
  'fullName': 'arcgis python',
  'idpUsername': None,
  'lastLogin': 1481698045149,
  'lastName': 'python',
  'level': '2',
  'mfaEnabled': False,
  'modified': 1478923377638,
  'orgId': '0123456789ABCDEF',
  'preferredView': None,
  'privileges': ['features:user:edit',
   'features:user:fullEdit',
   'marketplace:admin:manage',
   'marketplace:admin:purchase',
   'marketplace:admin:startTrial',
   'opendata:user:designateGroup',
   'opendata:user:openDataAdmin',
   'portal:admin:assignToGroups',
   'portal:admin:changeUserRoles',
   'portal:admin:deleteGroups',
   'portal:admin:deleteItems',
   'portal:admin:deleteUsers',
   'portal:admin:disableUsers',
   'portal:admin:inviteUsers',
   'portal:admin:manageCollaborations',
   'portal:admin:manageEnterpriseGroups',
   'portal:admin:manageLicenses',
   'portal:admin:reassignGroups',
   'portal:admin:reassignItems',
   'portal:admin:reassignUsers',
   'portal:admin:shareToGroup',
   'portal:admin:shareToOrg',
   'portal:admin:shareToPublic',
   'portal:admin:updateGroups',
   'portal:admin:updateItems',
   'portal:admin:updateUsers',
   'portal:admin:viewGroups',
   'portal:admin:viewItems',
   'portal:admin:viewUsers',
   'portal:publisher:publishFeatures',
   'portal:publisher:publishScenes',
   'portal:publisher:publishTiles',
   'portal:user:createGroup',
   'portal:user:createItem',
   'portal:user:joinGroup',
   'portal:user:joinNonOrgGroup',
   'portal:user:shareGroupToOrg',
   'portal:user:shareGroupToPublic',
   'portal:user:shareToGroup',
   'portal:user:shareToOrg',
   'portal:user:shareToPublic',
   'premium:user:demographics',
   'premium:user:elevation',
   'premium:user:geocode',
   'premium:user:geoenrichment',
   'premium:user:networkanalysis',
   'premium:user:spatialanalysis'],
  'provider': 'arcgis',
  'region': 'WO',
  'role': 'org_admin',
  'storageQuota': 107374182400,
  'storageUsage': 123934598,
  'tags': [],
  'thumbnail': None,
  'units': 'english',
  'userType': 'arcgisonly',
  'username': 'arcgis_python_api',
  'validateUserProfile': True}}
In [ ]:


Feedback on this topic?