ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / ArcGISPortal Class / IsActivePortal Method

IsActivePortal Method
Gets whether this portal instance is the active portal
Syntax
public bool IsActivePortal()

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also