Retrieves the currently logged-in member.
The getMember() function returns a Promise that resolves
to the currently logged-in member.
Notes:
currentMember.getMember() resolves to undefined if a member isn't logged in. This function may change in the future to align with the frontend currentMember.getMember().CurrentMember are only partially functional when previewing your site. View a published version of your site to see their complete functionality.Fieldset options.