Forcing a User to Log Off of the Site (KickUser)

Use the ICISite interface KickUser method to force a user to log off/disconnect from a Site.

This method is available in EFT Server 4.3.4 and later.

 

Signature:

HRESULT KickUser(

/*[in]*/ long nUserID,

/*[out, retval]*/ VARIANT_BOOL *pSuccess)

Example:

Dim bResult: bResult = oSite.KickUser(1)

If bResult Then

WScript.Echo "User disconnected successfully."

Else

WScript.Echo "Failed to disconnect the user."

End If