Summary
Returns a list of available portal URLs.
Discussion
For more information about portal connections, see Manage portal connections from ArcGIS Pro.
Syntax
ListPortalURLs ()
Data Type | Explanation |
String | Returns a list of available portals. |
Code sample
import arcpy
# For example: ['http://testext.arcgis.com/', 'http://www.arcgis.com/']
print(arcpy.ListPortalURLs())