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


IUser.GetUsername Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IU > IUser Interface > IUser.GetUsername Method
ArcGIS Developer Help

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