> For the complete documentation index, see [llms.txt](https://developers.memberspace.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.memberspace.com/javascript-api/overview/events/memberspace.member.info.md).

# MemberSpace.member.info

Only dispatched if there is a logged in user:

* At bootstrap with cached user information, (re-dispatched when fresh information arrives and it is different from the cached)
* After the user logs in
* Re-dispatched every time some relevant information changes.

The `detail` field of the event contains a [MemberInfo](/javascript-api/overview/structures-and-examples/structures.md#memberinfo) object.

```javascript
const handleMemberInfo = ({ detail }) => {
    const { memberInfo } = detail;

    console.log(memberInfo.email)
}
document.addEventListener('MemberSpace.member.info', handleMemberInfo);
```
