Dear All,
I have to modify the Storage DB and for some reasons I have to do it via a controller
I already know how to get informations from the DB
Juste like te last loggued session as :
lastUserLogged = db(db.auth_event.description.contains('connect')).select(orderby=~db.auth_event.time_stamp,limitby=(0, 1)).first().user_id
But today I would like to do something else (i don't know how to do it properly)
How to (in python)
1. Change a already existing password of a user if I kow the username of the user (username or ID)
2. Create a new user if it's possible (with a username and a password of course)
3. List all the users in the storage db by username
4. Delete user (with username) if it's possible (if it's exist)
if you have the solution for one of this question ( or for all)
Really and Great thanks in advance