Custom profile property – returns null in code
Problem: You have defined a custom profile property and while trying to obtain this value through code, the value returns null.
Possible Reason: Check the “Default Privacy Setting” in the “Edit Profile Property” Page. Set this to ‘Everyone’ to be able to view/update this.