Using the getCurrentMember Method

Article author
Memberstack Team
  • Updated

The following video is a quick tutorial on working with the 2.0 DOM (front-end API). We’ll be focusing on the getCurrentMember method.

Why is this method important?

  • You can use it for authentication → to determine if a member is logged in or out and run conditional logic based on their auth state.
  • You can use it to access a member’s data and do things with that data → display it on the front end, pass it into other 3rd party integrations, etc.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.