Share via


SPWebApplication.UserPhotoImportEnabled property

Gets or sets whether to enable the picture import feature.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UserPhotoImportEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.UserPhotoImportEnabled

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

Property value

Type: System.Boolean
true to enable the picture import feature; otherwise false.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace