Stay organized with collectionsSave and categorize content based on your preferences.
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.
Usage
Returns
ee.data.createAssetHome(requestedId,callback)
Argument
Type
Details
requestedId
String
The requested ID of the home folder
(e.g. "users/joe").
callback
Function, optional
An optional callback. If not supplied, the call is made synchronously.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eCreates a home root folder (like "users/joe") for the current user if one doesn't already exist.\u003c/p\u003e\n"],["\u003cp\u003eReturns an error if a home folder for the user already exists or the requested ID is taken.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eee.data.createAssetHome()\u003c/code\u003e function, accepting a requested ID and an optional callback.\u003c/p\u003e\n"],["\u003cp\u003eWhen a callback is not provided, the function execution becomes synchronous.\u003c/p\u003e\n"]]],[],null,["# ee.data.createAssetHome\n\n\u003cbr /\u003e\n\nAttempts 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.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------|---------|\n| `ee.data.createAssetHome(requestedId, `*callback*`)` | |\n\n| Argument | Type | Details |\n|---------------|--------------------|------------------------------------------------------------------------|\n| `requestedId` | String | The requested ID of the home folder (e.g. \"users/joe\"). |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]