Interface IUserInfo
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members describing a user connected to a database.
[Guid("EB75FCDE-A676-4B77-A9A6-48F722B7087B")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUserInfo
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.
Properties
ClientName
The name of the connected computer
string ClientName { get; }
Property Value
ConnectionTime
The time that the connection was made
object ConnectionTime { get; }
Property Value
IsDirectConnection
The type of connection.
bool IsDirectConnection { get; }
Property Value
IsOwnConnection
Whether this connection is the current users' connection.
bool IsOwnConnection { get; }
Property Value
Name
The name of the connected user.
string Name { get; }
Property Value
SessionID
The unique ID of the connection.
int SessionID { get; }