Resumen
The ListPortalURLs function returns a list of available portal URLs.
Debate
For more information on portal connections, see Managing portal connections from ArcGIS for Desktop
Sintaxis
ListPortalURLs ()
Valor de retorno
Tipo de datos | Explicación |
String | Returns a list of available portals. |
Muestra de código
ListPortalURLs example
import arcpy
# For example: ['http://testext.arcgis.com/', 'http://www.arcgis.com/']
print(arcpy.ListPortalURLs())