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 


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/fe736d2a-b716-431e-88e7-93eef635b506%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to