ListPortalURLs

Résumé

The ListPortalURLs function returns a list of available portal URLs.

Discussion

For more information on portal connections, see Manage portal connections from ArcGIS Pro.

Syntaxe

ListPortalURLs ()
Valeur renvoyée
Type de donnéesExplication
String

Returns a list of available portals.

Exemple de code

ListPortalURLs example
import arcpy

# For example: ['http://testext.arcgis.com/', 'http://www.arcgis.com/']
print(arcpy.ListPortalURLs())