Résumé
Returns the URL of the active portal.
Discussion
To add, set or edit portal connections, see Managing portal connections from ArcGIS for Desktop.
Syntaxe
GetActivePortalURL ()
Valeur renvoyée
| Type de données | Explication |
| String | The URL of the active portal. |
Exemple de code
GetActivePortalURL example
import arcpy
# For example: 'http://www.arcgis.com/'
arcpy.GetActivePortalURL()