Share via


UserProfile.PictureImportEnabled property

Gets a Boolean value that indicates whether the user's picture is imported from Exchange.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Property PictureImportEnabled As Boolean
    Get
    Set
'Usage
Dim instance As UserProfile
Dim value As Boolean

value = instance.PictureImportEnabled

instance.PictureImportEnabled = value
public bool PictureImportEnabled { get; set; }

Property value

Type: System.Boolean
true if the user's picture is imported from Exchange, otherwise false.

See also

Reference

UserProfile class

UserProfile members

Microsoft.SharePoint.Client.UserProfiles namespace