Sdílet prostřednictvím


Accessing globals

Globals for an application dictionary are accessed through the dictionary class. This class has a Globals property that provides access to the collection of globals in the dictionary. The dictionary class for the application dictionary is located in the following namespace:

Microsoft.Dexterity.Applications

 

For instance, to access the collection of globals in the Dynamics dictionary, use the following syntax:

Microsoft.Dexterity.Applications.Dynamics.Globals

 

To access a specific global value, such as the current user's ID (UserId), use the following syntax:

Microsoft.Dexterity.Applications.Dynamics.Globals.UserId