Is the Email field in the User object hidden from customer community users? My client has customer community and has written an application for the community. There is an Apex class "with sharing" that selects various fields from the User object. When a community user accesses this method, all field values are returned except for the Email field, which returns a null value.
When a standard license user performs the same function, the email value is returned.
Portal User Visibility and Community User Visibility is enabled. There is a sharing rule on the User object and all the community users are in the group.