Marriage: A Right or an Obligation?

There are same-sex couples that promote homosexual marriage and claim such as a right, equal in every respect to the marriage of a man and a woman. The question arises: Is holy matrimony a right?