ee.data.getAssetRoots

Returns the list of the root folders the user owns. The "id" values for roots are two levels deep, e.g. "users/johndoe" not "users/johndoe/notaroot".

UsageReturns
ee.data.getAssetRoots(callback)List
ArgumentTypeDetails
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.