tencent cloud

Tencent Cloud Super App as a Service

Customizing User Attributes

Download
Focus Mode
Font Size
Last updated: 2024-08-06 15:32:03
Set the current login account for data isolation and user information display.
The account must be set before mini program startup.
info: The information of the current login account. It is left empty if no user is logged in.
void setAccount(AccountInfo? info)
Sample code:
_tcmppFlutterPlugin.setAccount(AccountInfo(
uid: "12345",
avatarUrl: "https://picsum.photos/250?image=9",
accountName: "SimpleAccount"));


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback