This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatabaseConnectionInfo Interface > IDatabaseConnectionInfo.ConnectedUser Property (ArcObjects .NET 10.4 SDK) |
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
If used with a Personal or File Geodatabase, the ConnectedUser property will return an empty string.