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.
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."],[[["Creates a home root folder (like \"users/joe\") for the current user if one doesn't already exist."],["Returns an error if a home folder for the user already exists or the requested ID is taken."],["Utilizes the `ee.data.createAssetHome()` function, accepting a requested ID and an optional callback."],["When a callback is not provided, the function execution becomes synchronous."]]],[]]