In this paper, we have derived a generating function for a restricted partition function. This is in conjunction with two identities of Euler provides a new partition theoretic interpretation of two identities of Euler.