DesktopApp.set_current_user_data#

DesktopApp.set_current_user_data(key, value)#

Sets data specific to the currently signed in user in the database.

Warning

Currently, if you are using SQL database, you can only set data that was already added as a column in the users table.

Parameters:
  • key (str) – The key (name) of the data. For example: “username”, “email”, “age”, etc.

  • value (Any) – The value of the data.

Returns:

True if the data is set, and False if it is not set.

Return type:

bool