He told me that I could not do it that way
He said to me that I could not have done it that way
He told me that I could not do that thus
None of the above.