ee.data.createAssetHome

Attempts to create a home root folder (e.g. "users/joe") for the current user. This results in an error if the user already has a home root folder or the requested ID is unavailable.

UsageReturns
ee.data.createAssetHome(requestedId, callback)
ArgumentTypeDetails
requestedIdStringThe requested ID of the home folder (e.g. "users/joe").
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.