ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / ArcGISPortal Class / SignOut Method
Version

SignOut Method (ArcGISPortal)
Sign out from this portal instance 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.
Syntax
public bool SignOut()

Return Value

Exceptions
ExceptionDescription
Thrown when a method is called on the wrong Pro thread
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also