This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IU > IUser Interface > IUser.GetUsername Method (ArcObjects .NET 10.4 SDK) |
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