How to get username in get user script?

Hi @anish.subedi,

Thanks for reaching out to the Auth0 Community!

I understand that you like to know how to get the username in the Get User script in your Custom Database.

It appears that the discussion already has a solution:

Please let me know if you have any trouble with the implementation or need further clarification.

Thanks,
Rueben