ArcGIS Enterprise SDK
IUserInfo.SessionID Property
ArcGIS Developer Help

IUserInfo.SessionID Property

The unique ID of the connection.

[Visual Basic .NET]
Public ReadOnly Property SessionID As Integer
[C#]
public int SessionID {get;}

Description

The Session ID is the unique identifier generated by the Enterprise Geodatabase for every connection.

See Also

IUserInfo Interface