Force logout a user from all the applications.

Note: This method is supported for IC Server version 2017 R3 and beyond.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public void ForceUserLogout(
	string userId
)
Visual Basic
Public Sub ForceUserLogout ( _
	userId As String _
)

Parameters

userId
Type: System..::..String
User ID to be forced logout.

Remarks

An appropriate IceLibException will be thrown if the is user not logged out.

Exceptions

ExceptionCondition
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe Session has been disposed.

Version Information

Supported for IC Server version 2017 R3 and beyond.

See Also