Synthèse
Returns a dictionary that contains information about available portals.
Discussion
For more information on portal connections, see Manage portal connections from ArcGIS Pro.
Syntaxe
GetPortalInfo ({portal_URL})
Paramètre | Explication | Type de données |
portal_URL | The portal URL. The URL returned by GetActivePortalURL is used by default. | String |
Type de données | Explication | ||||||||||||
Dictionary | The function returns a dictionary containing properties of the portal.
|
Exemple de code
import arcpy
# For example:
# {'portal_version': 2.3, 'SSL_enabled': False, 'organization':
# 'PortalHost 10.2.1', 'role': 'account_publisher', 'organizationtype': ''}
print(arcpy.GetPortalInfo(portal_URL=arcpy.GetActivePortalURL()))
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?