Summary
The ListPortalURLs function returns a list of available portal URLs.
Syntax
ListPortalURLs ()
Return Value
Data Type | Explanation |
String | Returns a list of available portals. |
Code sample
ListPortalURLs example
import arcpy
# For example: ['http://testext.arcgis.com/', 'http://www.arcgis.com/']
print(arcpy.ListPortalURLs())