Skip to main content

GetActivePortalURL

Zusammenfassung

The GetActivePortalURL function returns the URL of the active portal.

Diskussion

To add, set, or edit portal connections, see Manage portal connections from ArcGIS Pro.

Syntax

GetActivePortalURL()

Rückgabewert

Datentyp Erläuterung

String

The URL of the active portal.

Codebeispiel

GetActivePortalURL example
import arcpy

# For example: 'http://www.arcgis.com/'
arcpy.GetActivePortalURL()