ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Controls Namespace / SignOnStatusChangedEventArgs Class / SignedOnUserName Property
Version

SignedOnUserName Property (SignOnStatusChangedEventArgs)
Gets the current signed on user name. If IsSignedIn is false, this is the empty string.
Syntax
public string SignedOnUserName {get;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also