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


IIdentity.UserName Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IIdentity.UserName Property

The username of the user.

[Visual Basic .NET]
Public Property UserName As String
[C#]
public string UserName {get; set;}
[C++]
HRESULT get_UserName(
  BSTR* UserName
);
[C++]
HRESULT put_UserName(
  BSTR UserName
);
[C++]

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

Product Availability

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

See Also

IIdentity Interface