Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

OpenId

Opens a new instance of an object for a given Identifier.

Synopsis

OpenId object

Arguments

The OpenId statement has the following argument:

object Name of the object for which a new instance should be created.

Examples

The following example demonstrate how to use the OpenId statement:

person = OpenId User.Person(5012) 
  'Instantiates a person object with the Id of 5012

See Also

Feedback