system.kanoa.security.storeNewIDPUser(auth)
Whenever a user logs in and is authenticated by the iDP, we shall create an entry in the sec.user table. The userId is then used in the changedBy and createdBy fields in all our tables.
Parameters
auth pyObject: session authentication object
Returns
userId Integer
Example
userId = system.kanoa.security.storeNewIDPUser(auth)