Skip To Content

GetActivePortalURL

Summary

Returns the URL of the active portal.

Syntax

GetActivePortalURL ()
Return Value
Data TypeExplanation
String

The URL of the active portal.

Code sample

GetActivePortalURL example
import arcpy

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

Related topics