This document is archived and information here might be outdated.  Recommended version.


IUser.GetUsername Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Server)  

IUser.GetUsername Method

Returns the user name.

[Visual Basic .NET]
Public Function GetUsername ( _
) As String
[C#]
public string GetUsername (
);
[C++]
HRESULT GetUsername(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IUser Interface