User Information
Get detailed information of the currently logged-in user.
Interface Description
Interface Type
userInfoParameters
No parameters required.
Return Value
Returns user information object:
javascript
{
user_name: "username",
// Other user information fields...
}Basic Usage
javascript
// Get user information
const userInfo = await apiInvoke('userInfo');
console.log('Phone:', userInfo.phone);