> For the complete documentation index, see [llms.txt](https://docs.ep.mburger.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ep.mburger.cloud/android-docs/audience/untitled-6.md).

# Mobile User Id

This is the id of the user currently logged in MBurger using MBAuth. At the moment the mobile user id is **not sent automatically** when a user log in/log out with MBAuth. It will be implemented in the future but at the moment you have to set and remove it manually when the user completes the login flow and when he logs out.

To set the mobile user id:

```
MBAudience.setMobileUserId(context: Context, mobile_user_id: String)
```

To remove it, if the user logs out:

```
MBAudience.removeMobileUserId(context: Context)
```

To get the currently saved mobile user id:

```
MBAudience.getMobileUserId()
```

###
