Summary
Returns the URL of the active portal.
Syntax
GetActivePortalURL ()
| Data Type | Explanation | 
| String | The URL of the active portal. | 
Code sample
import arcpy
# For example: 'http://www.arcgis.com/'
arcpy.GetActivePortalURL()Returns the URL of the active portal.
GetActivePortalURL ()
| Data Type | Explanation | 
| String | The URL of the active portal. | 
import arcpy
# For example: 'http://www.arcgis.com/'
arcpy.GetActivePortalURL()