Iranian President Mahmoud Ahmadinejad was quoted as saying Iran does not " give a damn " about Security Council resolutions .