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(
  BSTR* UserName
);
[C++]

Parameters

UserName [out, retval]   UserName is a parameter of type BSTR

Product Availability

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

See Also

IUser Interface