ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Get currently logged in user details


#1

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.


#2

@mr-karan,

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


#3

Thanks @makarand_b


#4

can you share your code? TIA :slight_smile:


#5

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