Provides access to members describing a user connected to a database.
Members
Name | Description | |
---|---|---|
ClientName | The name of the connected computer | |
ConnectionTime | The time that the connection was made | |
IsDirectConnection | The type of connection. | |
IsOwnConnection | Whether this connection is the current users' connection. | |
Name | The name of the connected user. | |
SessionID | The unique ID of the connection. |
IUserInfo.ClientName Property
The name of the connected computer.
Public ReadOnly Property ClientName As String
public string ClientName {get;}
Description
The name of the client machine where the connection to the Enterprise Geodatabase was made from.
IUserInfo.ConnectionTime Property
The time that the connection was made.
Public ReadOnly Property ConnectionTime As Object
public object ConnectionTime {get;}
Description
Server time when the connection was established.
IUserInfo.IsDirectConnection Property
The type of connection.
Public ReadOnly Property IsDirectConnection As Boolean
public bool IsDirectConnection {get;}
Description
Boolean property specifying if the connection is a direct connection.
IUserInfo.IsOwnConnection Property
Whether this connection is the current users' connection.
Public ReadOnly Property IsOwnConnection As Boolean
public bool IsOwnConnection {get;}
Description
Boolean property specifying if the connection is the same connection that was used for the get_ConnectedUsers call.
IUserInfo.Name Property
The name of the connected user.
Public ReadOnly Property Name As String
public string Name {get;}
Description
The User name used to authenticate the connection to the Enterprise Geodatabase.
IUserInfo.SessionID Property
The unique ID of the connection.
Public ReadOnly Property SessionID As Integer
public int SessionID {get;}
Description
The Session ID is the unique identifier generated by the Enterprise Geodatabase for every 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.