Could you transfer the chromecast's netflix access?

My friend got a chromecast w/ the netflix deal and I was wondering if it was possible for him to give me the subscription, as he already has netflix and doesn't want the deal. I don't know how the deal worked, so is it just a code that I can enter in the Netflix website, or is it something that is completely exclusive to that chromecast device? Thanks.