> For the complete documentation index, see [llms.txt](https://docs.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.mburger.cloud/ios-docs/auth/untitled.md).

# Retrieve user information

You can retrieve the information of the current user with **`MBAuth.getUserProfile(success:failure)`**.

{% hint style="success" %}
If successful, it returns a **`MBUser`** object as a parameter of the success block.
{% endhint %}

> Swift

```swift
MBAuth.getUserProfile(success: { user in
            
}, failure: { error in
            
})
```
