ArcGIS Enterprise SDK
IUserInfo Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.GeoDatabase > Interfaces > IU > IUserInfo Interface
ArcGIS Developer Help (ESRI.ArcGIS.Geodatabase)

IUserInfo Interface

Provides access to members describing a user connected to a database.

Members

Name Description
Read-only property ClientName The name of the connected computer
Read-only property ConnectionTime The time that the connection was made
Read-only property IsDirectConnection The type of connection.
Read-only property IsOwnConnection Whether this connection is the current users' connection.
Read-only property Name The name of the connected user.
Read-only property SessionID The unique ID of the connection.

Classes that implement IUserInfo

Classes Description

Remarks

Returns information about the Geodatabase user.
The users name and its corresponding sessionID can used to disconnect the particular user with the IDatabaseConnectionInfo3.DisconnectUser method.
Additional information such as the time the user connected to the database and the computer from which they are connected is also available.
ClientName returns the name of the computer that is connected to the workspace.
ConnectionTime returns the time the connection was made to the workspace in database time.
IsDirectConnection is used to determine the style of connection. Returning True would indicate that the load was on the client side (Direct Connection) while returning False would indicate that the load was on the server side (Application Connection)
IsOwnConnection indicates if the IUserInfo references the connection made by the user.
Name returns the user name as a string.
SessionID returns the identifier of the connection. The sessionID can be used by a Geodatabase administrator with IDatabaseConnectionInfo3 to disconnect the associated connection.