Resolve the problem of programmatically disconnecting specific Windows users by using logoff with session IDs from query user.