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


ILockInfo.UserName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IL > ILockInfo Interface > ILockInfo.UserName Property
ArcGIS Developer Help

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(
  System.String* 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