GetActivePortalURL
Resumen
The GetActivePortalURL function returns the URL of the active portal.
Debate
To add, set, or edit portal connections, see Manage portal connections from ArcGIS Pro.
Sintaxis
GetActivePortalURL()
Valor de retorno
| Tipo de datos | Explicación |
|---|---|
|
String |
The URL of the active portal. |
Muestra de código
GetActivePortalURL example
import arcpy
# For example: 'http://www.arcgis.com/'
arcpy.GetActivePortalURL()