Get the member's username with the new Wix Member API

Isnt this just the field “Slug” from the “Members/PrivateMembersData” collection ? If so you can query the collection using the User’s ID