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


IUser.SetUsername 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.SetUsername Method
ArcGIS Developer Help

IUser.SetUsername Method

Sets the user name.

[Visual Basic .NET]
Public Sub SetUsername ( _
    ByVal UserName As String _
)
[C#]
public void SetUsername (
    string UserName
);
[C++]
HRESULT SetUsername(
  BSTR UserName
);
[C++]
Parameters
UserName [in]

UserName is a parameter of type BSTR

Product Availability

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

See Also

IUser Interface