This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatabaseConnectionInfo Interface > IDatabaseConnectionInfo.ConnectedUser Property (ArcObjects .NET 10.5 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.