Skip to main content

Owner (Class Keyword)

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 }

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

FeedbackOpens in a new tab