Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.data.createAssetHome
Stay organized with collections
Save 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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["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. |"]]