The RAccount class stores a few information regarding a user’s account. We get an instance of that class when we call the method getAccount on the Cloud Service instance.

The RAccount class has the following properties:

  • accountID[(NS)String]: The id of the account. Not all Cloud Service offer this information. In some case, this is equal to the email address
  • name[(NS)String]: The name of the user
  • email[(NS)String]: The email address of the user
  • quota[RQuota]: An instance of the RQuota class

The RQuota class is used to describe a user’s quota and it has two properties:

  • total[long]: The total storage in bytes that the user has purchased for
  • used[long]: The storage in bytes that is being used