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