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.
Namespace: Ignition.ConfigurationAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public IgnitionConfiguration SetNetForumAddChangeUser(
Func<string> addChangeUser,
bool skipSanitization = false
)
Public Function SetNetForumAddChangeUser (
addChangeUser As Func(Of String),
Optional skipSanitization As Boolean = false
) As IgnitionConfiguration
public:
IgnitionConfiguration^ SetNetForumAddChangeUser(
Func<String^>^ addChangeUser,
bool skipSanitization = false
)
member SetNetForumAddChangeUser :
addChangeUser : Func<string> *
?skipSanitization : bool
(* Defaults:
let _skipSanitization = defaultArg skipSanitization false
*)
-> IgnitionConfiguration
- 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.
IgnitionConfiguration
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 '?'