Gets the site ID for the current user.

Namespace: ININ.IceLib.Reporting.Interactions
Assembly: ININ.IceLib.Reporting (in ININ.IceLib.Reporting.dll) Version: 0.0.0.0 (21.4.0.172)

Syntax

C#
public int GetCurrentSiteId()
Visual Basic
Public Function GetCurrentSiteId As Integer

Return Value

The site ID.

Exceptions

ExceptionCondition
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.

See Also