ITSGAuthenticateUserSink::DisconnectUser method (tsgauthenticationengine.h)
Notifies Remote Desktop Gateway (RD Gateway) that it should disconnect the client.
HRESULT DisconnectUser( [in] ULONG_PTR context );
A pointer to a ULONG that contains a value that identifies the connection to disconnect. Use the value that was passed by the AuthenticateUser method.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The authentication plug-in can use this method to disconnect the client as needed. For example, it can call this method if the client's cookie expires.
|Minimum supported client||Windows 7|
|Minimum supported server||Windows Server 2008 R2|