---
title: Access data objects using scripts
description: IDM gives you the ability to access various data objects (such as managed objects, configuration objects, repository objects and so on) and perform actions (functions) through inline scripts. Advanced Identity Cloud standardizes the objects through a uniform programming model.
component: pingoneaic
page_id: pingoneaic:idm-objects:data-scripts
canonical_url: https://docs.pingidentity.com/pingoneaic/idm-objects/data-scripts.html
keywords: ["Data Object Model", "Scripts"]
---

# Access data objects using scripts

IDM gives you the ability to access various data objects (such as managed objects, configuration objects, repository objects and so on) and perform actions (functions) through inline scripts. Advanced Identity Cloud standardizes the objects through a uniform programming model.

For more information about scripts and the objects available to scripts, refer to [Scripting](../idm-scripting/preface.html).

You can use the Resource API to obtain managed, system, configuration, and repository objects, as follows:

```javascript
val = openidm.read("managed/realm-name_organization/mysampleorg")
val = openidm.read("system/mysystem/account")
val = openidm.read("config/custom/mylookuptable")
val = openidm.read("repo/custom/mylookuptable")
```

For information about constructing an object ID, refer to [URI Scheme](../idm-rest-api/rest-structure.html#rest-uri-scheme).

For information on all the actions you can take on a resource, refer to [scripting functions](../idm-scripting/scripting-func-engine.html).
