ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Get currently logged in user details


Is it possible to get all details of the currently logged in user from the User doctype ?

I’m trying to make an allocation logic, where the person logged in gets assigned that particular form.



You can get the user details using frappe.user or frappe.user_info(email_id) methods on client script


Thanks @makarand_b


can you share your code? TIA :slight_smile:


just use user or frappe.session.user if doing so from client side