Detect Thoughts: Does the target know the identity of the caster as a result of the save?

Is it bad for me to ask my pc’s what kind of god their character would believe?