MBurger Headless CMS
User GuideCMS HeadlessEngagement Platform
Search
⌃K
Links
🍔
MBurger Documentation🍔
🔑
API
📱
Android SDK
🍏
iOS SDK
Introduction
Installation
Initialization
Fetch the project
Fetch blocks
Fetch sections
Media
Encoding & Decoding
Serialization & Equality
Admin
Auth
Register a user
Authenticate a user
Retrieve user information
Update user profile
Plugins
Sample Apps
MBurger Apps
💻
PHP SDK
☕
JavaScript SDK
🔷
Flutter SDK
❓
How to?
👻
Sample App
Powered By GitBook

Retrieve user information

You can retrieve the information of the current user with MBAuth.getUserProfile(success:failure).
If successful, it returns a MBUser object as a parameter of the success block.
Swift
MBAuth.getUserProfile(success: { user in
}, failure: { error in
})
Previous
Authenticate a user
Next
Update user profile
Last modified 2yr ago
Copy link