Gets the email address of the current user.
Namespace:
EPiServer.PersonalizationAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
public string EmailWithMembershipFallback { get; } |
Field Value
The email address, or null if not defined.
Remarks
Will first try to get email address from the profile data. If no email address defined, attempt to load email address from the current membership provider.
Note that the membership provider might not be defined or the provider might not support email address information.
In case of error we return null and log information with error level Error.