IgnitionConfigurationSetNetForumAddChangeUser(FuncString, Boolean) Method

Sets the username to be placed in the "xxx_add_user" and/or "xxx_change_user" fields when NetFORUM data is added/changed by Ignition.

Definition

Namespace: Ignition.Configuration
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public IgnitionConfiguration SetNetForumAddChangeUser(
	Func<string> addChangeUser,
	bool skipSanitization = false
)

Parameters

addChangeUser  FuncString
A callback which Ignition will use every time it needs to write an add/change user to the database
skipSanitization  Boolean  (Optional)
Determines whether or not Ignition will automatically sanitize usernames. See Remarks for details.

Return Value

IgnitionConfiguration

Remarks

The callback provided must not make calls to any other Ignition services. Doing so will result in a stack overflow exception. The callback provided will be called FREQUENTLY by Ignition, and whatever data it retrieves should come from an in-memory cache to ensure good performance. If skipSanitization is true then usernames must meet the following conditions. Usernames must be no longer than 64 characters long. Usernames must include only standard ASCII characters. Otherwise, skipSanitization is false Usernames longer than 64 characters will be truncated to 64 characters Usernames containing non-ASCII characters will have those characters replaced with a '?'

See Also