The ProfileFieldToEmail property of the UserPolicy class gets the user profile field that contains the e-mail address that is displayed on the alert creation page.
String that contains the user profile field with the e-mail address to display on the alert creation page.
The ProfileFieldToEmail property is read-only. This property indicates which user profile field is mapped to the user's email address. This address is used to populate the email address displayed on the alert creation form if the user specifies they want to be alerted via email. For example, the value of this property is "WorkEmail," then the value of the WorkEmail field is used on the form, and notifications are sent to this address.
Platforms: Microsoft Windows Server 2003
Security: Code Access Security