Getting the current user in Figma

Hello,
I’m new to Figma plugin development and was wondering if there is a way to retrieve the current user information? I’m developing a plugin and when a designer runs the plugin, I’d like to gather their user info and send it along with some other data that is being saved so that they don’t have to fill in a name/email form as part of the export of data from the plugin.

This is available now!

figma.currentUser returns the ID, name and photo of the current user.