User Account Management

Last Updated on : 2022-02-17 07:01:02download

Tuya Smart Residence App SDK supports the user accounts that are registered with email addresses.

Functional description

In this module, the TuyaSmartResidenceSdk.account() object is frequently called. This object is a singleton that stores all information about the current user including login and registration methods.

Account roles

Site members can be assigned the following roles:

  • Owner: granted all permissions on specific sites and devices.
  • Administrator: granted most permissions on specific sites and devices.
  • Member: only authorized to use devices but cannot manage common members.

Their permission levels are sorted in the following descending order: owner > administrator > member.