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

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.