improved

2024-04-16

Additional information in `getUserInfo()` method in Web SDK

What's new

getUserInfo()

This release includes an update to the getUserInfo() method. It now returns email along with the previously returned id and name.

Example

const userInfo = await miro.board.getUserInfo();

console.log(userInfo); // => {"id": "3658432978520043388", "name": "John Smith", "email": "[email protected]"}

For more information, see getUserInfo().