UserProfile.EmailOptin property
Gets the user's setting for the Email Notifications property.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public ReadOnly Property EmailOptin As Integer
Get
'Usage
Dim instance As UserProfile
Dim value As Integer
value = instance.EmailOptin
public int EmailOptin { get; }
Property value
Type: System.Int32
The user's setting for the Email Notifications property.