Skip to main content
Previous sectionNext section

Owner

Specifies the owner of this class and its corresponding table. Applies only to persistent classes.

Usage

To specify the owner of this class and its corresponding table, use the following syntax:

Class MyApp.Person Extends %Persistent [ Owner = "username" ]  { //class members }
Copy code to clipboard

Where username is an InterSystems IRIS user name.

Details

This keyword specifies the owner of the class and its corresponding table.

Effect on Subclasses

This keyword is inherited from the primary superclass. The subclass can override the value of the keyword.

Default

If you omit this keyword, this class and its table are owned by the _SYSTEM user.

See Also