The user name who has the schema lock.
[Visual Basic .NET] Public ReadOnly Property UserName As String
[C#] public string UserName {get;}
[C++]
HRESULT get_UserName(
BSTR* UserName
);
[C++]Parameters
UserName [out, retval] UserName is a parameter of type BSTR
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.