If you're married, in a defacto relationship or purchasing via a trust. I have seen situations where people weren't on the title outside of this, but it's not an exception I'd rely on.
Lenders won't accept a guarantor to another person for affordability purposes. This doesn't work. You'd have to be on the title which means you'd miss out on the grant.