ArcObjects Library Reference (GeoDatabase)  

IDatabaseConnectionInfo3.ConnectedUsers Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Errors Returned

FDO_E_SE_NO_PERMISSIONS, FDO_E_NO_PERMISSION

See Also

IDatabaseConnectionInfo3 Interface