How can i achieve something like this scenario : Admin created new user : xxx@gmail.com , password : xxx, after it created, i want to trigger external web service to insert new user record to other database, where can i add/edit this code ?
Creating new user isn’t a doctype ? i can’t find where is it the location of Setup-> User → New …
Your help is greatly appreciated
is it something like this ? but how can i get the newly created record in that method ? i search some is using frappe.db.get_value(“User”, … , …) => i do not know how to retrieve the newly created record ~
i know there is a way to use frappe.sql to retrieve the top id, but this isn’t effective… Could anyone please share how can i do it ?
Thank you. I able retrieve newly created user , but able to get the password, it show blank when i print it out on web browser console. How can i retrieve the password from python ?
Can anyone please kindly guide me on how to retrieve the following User doctype newly created password from python ?
I try with doc.get(“new_password”) , the result is blank, when i try doc.get(“email”), it shows email address of the newly created user. However, if i use doc.get_password(“new_password”), the error will hit :