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


IIdentity.UserName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > II > IIdentity Interface > IIdentity.UserName Property
ArcGIS Developer Help

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(
  System.String* UserName
);
[C++]
Parameters
UserName [in]

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

Product Availability

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

See Also

IIdentity Interface