How to get current user full_name?

I have tried all these given below :

frappe.get_fullname
frappe.full_name
frappe.user_fullname

but not working a single one although is given in official document

you will get a username using this frappe.session.user_fullname

2 Likes

for me ā€œuser_fullnameā€ worked. Placed this in ā€œdefaultā€ property of a field.

1 Like

In V13 you can use ā€œfrappe.get_user().doc.full_nameā€.
frappe.get_user().doc delivers the entire record of the current user.

where to implement this?

Try using frappe.utils.get_fullname().
Iā€™m using frappe version 14.76.2.

1 Like