ArcObjects Library Reference (GeoDatabase)  

ILockInfo.UserName Property

The name of the user that acquired the lock.

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

Parameters

user [out, retval]   user is a parameter of type BSTR

Product Availability

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

Remarks

The UserName method returns the user name who is currently editing or reconciling the version.

See Also

ILockInfo Interface