Skip to main content

system.kanoa.security.addUserToUserSource(userInfo)

Creates a new user in the gateway's default user source using information provided by the userInfo


Parameters

userInfo Dictionary

- emailString
- firstNameString
- lastNameString
- passwordString
- userNameString

Returns

userObj PyObject A UIResponse object containing a list of errors, warnings and information returned after the add attempt.


Example

{'userId': 12, 'userName': 'JohnDoe', 'firstName': 'John', 'lastName': 'Doe', 'email': 'johndoe@gmail.com', 'password': 'password'}
system.kanoa.event.addUserToUserSource(userInfo)