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

SignedOnUserName Property (SignOnControl)
Gets the currently signed on user name. If not signed in, then an empty string is returned.
Syntax
public string SignedOnUserName {get;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also