ProfileImageManagerSetImage Method

Assigns the customer photo of an individual, organization, or chapter.

Definition

Namespace: Ignition.Crm.ProfileImageManagement
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public void SetImage(
	ICustomer customer,
	ProfileImage image
)

Parameters

customer  ICustomer
Individual, organization, or chapter to assign the photo to
image  ProfileImage
New customer photo

Remarks

Most installations of netFORUM will expose any file uploaded via this mechanism to a directory which is accessible the public internet by default, using the naming convention {CustomerRecordNumber}.jpg regardless of the actual type of the uploaded file. You may want to consider disabling public access to netFORUM's customer image directory for security purposes before using this endpoint in production code.

See Also