UnionID Mechanism Overview
The platform can distinguish the uniqueness of a user through the UnionID, because a user's UnionID is unique across all games under the same OpenPaaS platform account. In other words, for the same user, the unionid is unique.
Ways to Obtain UnionID
A minigame that is bound to a developer account can obtain the UnionID through the following methods.
Developers can obtain the user's UnionID directly through [sud.login] + code2Session, without requiring user authorization.
