ArcGIS Pro 2.9 API Reference Guide
IsSignedOn Method (ArcGISPortal)

ArcGIS.Desktop.Core Namespace > ArcGISPortal Class : IsSignedOn Method
Gets the sign on status of the portal instance.
Syntax
public bool IsSignedOn()
Public Function IsSignedOn() As Boolean

Return Value

Remarks
This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used.
Known issue: A thread check is not enforced.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ArcGISPortal Class
ArcGISPortal Members