IncrementTrovoUsersVarById
Increments the values of Trovo user variables for a list of user IDs.
Will only increment if variable exists
Signature
public void IncrementTrovoUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)
Parameters
userIds
List<string> required
No description provided.
varName
string required
Name of the user variable
value
object required
Value of how much the user variables should be increased by
persisted
bool
Default:
True
true- Persisted user variables will be affectedfalse- Non-persisted user variable will be affected
Return Type
void
Example
CPH.IncrementTrovoUsersVarById(userIds, varName, value);
CPH.IncrementTrovoUsersVarById(userIds, varName, value, persisted);