Identity Cloud

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. Identity Cloud standardizes the objects through a uniform programming model.

For more information about scripts and the objects available to scripts, refer to Scripting.

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

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.

For information on all the actions you can take on a resource, refer to scripting functions.

Copyright © 2010-2024 ForgeRock, all rights reserved.