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


ILockInfo.UserName Property (ArcObjects .NET 10.4 SDK)
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