Skip to main content

system.kanoa.security.updateUser

This function requires KanoaCore module

Description

Updates a user with the provided information.

Syntax

updateUser(paramsDict, userId)
  • Parameters
      paramsDict (Dictionary) - User information such as userId, userName, firstName, lastName, email.
      userId (Integer) - User ID.
  • Returns
      Number of records modified (Integer).
  • Code Example

    # Example Usage:
    recordsModified = system.kanoa.security.updateUser({'userId': 18, 'userName': 'JohnDoe', 'firstName': 'John', 'lastName': 'Doe', 'email': 'johndoe@gmail.com'}, 123)