This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatabaseConnectionInfo3 Interface > IDatabaseConnectionInfo3.ConnectedUsers Property (ArcObjects .NET 10.4 SDK) |
The current connections to the database.
[Visual Basic .NET] Public ReadOnly Property ConnectedUsers As IEnumUserInfo
[C#] public IEnumUserInfo ConnectedUsers {get;}
[C++]
HRESULT get_ConnectedUsers(
IEnumUserInfo** ConnectedUsers
);
[C++]
Parameters ConnectedUsers [out, retval]
ConnectedUsers is a parameter of type IEnumUserInfo
The get_ConnectedUsers method will return an enumeration of IUserInfo objects corresponding to the currently connected users in the Enterprise Geodatabase. You must be the Geodatabase Administrator to call this method.
FDO_E_SE_NO_PERMISSIONS, FDO_E_NO_PERMISSION