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


IUser.SetUsername Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

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