Skip to main content

system.kanoa.security.updateUserField(userId, field, value, updaterId)

Updates the user table field with the passed value


Parameters

userId Integer
field String
value String
updaterId Integer: Id of user updating this record


Returns

# of records modified Integer
message String None if success


Example

userId = 5
field = 'firstName'
value = 'Johnny'
updaterId = 1
configId, msg = system.kanoa.security.updateUserField(userId, field, value,updaterId)