ProfileImageManagerSetImage Method
Assigns the customer photo of an individual, organization, or chapter.
Namespace: Ignition.Crm.ProfileImageManagementAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public void SetImage(
ICustomer customer,
ProfileImage image
)
Public Sub SetImage (
customer As ICustomer,
image As ProfileImage
)
public:
void SetImage(
ICustomer^ customer,
ProfileImage^ image
)
member SetImage :
customer : ICustomer *
image : ProfileImage -> unit
Parameters
- customer ICustomer
- Individual, organization, or chapter to assign the photo to
- image ProfileImage
- New customer photo
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.