ArcGIS Pro 2.6 API Reference Guide
SignOut Method (ArcGISPortal)

ArcGIS.Desktop.Core Namespace > ArcGISPortal Class : SignOut Method
Sign out from this portal instance This method should be called from within a QueuedTask or System.Threading.Task.
Syntax
public bool SignOut()
Public Function SignOut() As Boolean

Return Value

Remarks
Known issue: A thread check is not enforced.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ArcGISPortal Class
ArcGISPortal Members