win32ts.WTSLogoffSession
WTSLogoffSession(Server, SessionId, Wait)
Logs off a user logged in through Terminal Services
Parameters
Server : PyHANDLE
Handle to a terminal serverSessionId : int
Terminal services session id as returned by win32ts::WTSEnumerateSessionsWait : boolean
Indicates whether operation should be performed asynchronously