Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Sup. I'm trying to set up a form in Zed right now, and i need to get the value of current user email

Options
U04RMV59JP8
U04RMV59JP8 Posts: 23 🧑🏻‍🚀 - Cadet

Sup. I'm trying to set up a form in Zed right now, and i need to get the value of current user email. Is there an easy way to achieve that ?

Comments

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet
    Options

    you want the email of the logged in zed user?

  • U04RMV59JP8
    U04RMV59JP8 Posts: 23 🧑🏻‍🚀 - Cadet
    Options

    Yes

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet
    Options

    yes, you have the user object. you can see an example how spryker use the name of the logged in user upper right corner

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 🧑🏻‍🚀 - Cadet
    Options

    use the session client, get the session and u have the logged in user if i remember correctly

  • U04RMV59JP8
    U04RMV59JP8 Posts: 23 🧑🏻‍🚀 - Cadet
    Options

    Thanks, i'll try to see what i can find