ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalInfo Class / PortalName Property
Version

PortalName Property
Gets the name of the portal.
Syntax
public string PortalName {get;}
Remarks
In the case of organization subscriptions within multi-tenant portals, name and portalName wil be different. In the case of single-tenant Portals, name and portalName will be logically the same.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also