Any person can verify the TAN NO. of any deductor / collector who makes TDS / TCS by his TAN and the TAN data can also be verified by Name of relevant deductor / collector also.
And therefore, if you have TAN No., verify by TAN or if you don’t have TAN of the relevant person, you can verify by his name also.
Both options are available on the same page alternatively and therefore, you can try in both ways i.e. by TAN and by the Name.