auto log out user

auto log out user

Hello, pls help me.
How can I log out user from a remote computer by receiving alert with failure code 0x12. 

UPD.
user disabled in ActiveDirectory, but session active on remote server(computer).

                New to ADSelfService Plus?