The Global class provides a means by which application-specific data can be shared among users of an application.
A subclass of Global (with a default name of Gapplication-class-name, which can be overridden at subschema creation time) is created whenever you create a new subschema. A single instance of the Gapplication-class-name class is also created. It is your responsibility to declare properties and methods for a Global subclass.
At run time, a single instance of the Gapplication-class-name subclass is shared by any active applications defined for the subschema. You can refer to this single instance in your logic, by using the
As all users of an application share an instance of the global object, if you update this object frequently, it may severely affect runtime performance.
You can use the getAndValidateUser and isUserValid methods to apply user validation for your applications. (For more details, see "
RootSchemaGlobal