If the answer above is None it means there is no specific mention in the legislation, but you still need to ask local law enforcement before drinking in Iran.
There is a ban on alcohol, but religious minorities may purchase small amounts from shops owned by the same religious minority.
You can find more legal details and links here:
Wikipedia Legal Drinking Page