ArcObjects Library Reference (GeoDatabase)  

IDatabaseConnectionInfo.ConnectedUser Property

The name of the connected user. It may be different from the USER property in the workspace's connection properties.

[Visual Basic .NET]
Public ReadOnly Property ConnectedUser As String
[C#]
public string ConnectedUser {get;}
[C++]
HRESULT get_ConnectedUser(
  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

If used with a Personal or File Geodatabase, the ConnectedUser property will return an empty string.

See Also

IDatabaseConnectionInfo Interface

.NET Samples

Timestamper class extension (Code Files: TimestampClassExtension)

.NET Related Topics

Querying workspace properties