Note that the wix-users API has been deprecated and it is recommended to use wix-members instead. I’m not sure all of what your code is doing, and I’m not sure where the bug is, but I would suggest using the getMember() function which will return the member’s login email.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How do I use wixUsers Backend to get the logged in member's login email? | 12 | 993 | December 21, 2021 | |
| Showing Data studio data set by identifying the current user email | 1 | 94 | July 6, 2022 | |
| How Do You Retrieve A Site Member ID | 11 | 3925 | November 30, 2019 | |
| Login with just an email address? | 11 | 820 | July 20, 2018 | |
| Viewing infos of the member from custom Dataset | 4 | 158 | September 25, 2019 |