This documentation is archived and is not being maintained.
Global Variables
Forefront
![]() |
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Global variables provide information about the Microsoft Dynamics CRM deployment and options chose by the user.
The following table shows the available global variables.
| Variable name | Description |
| SERVER_URL | Provides a string that represents the base server URL. When a user is offline, the SERVER_URL points to the local Microsoft Dynamics CRM Web services. |
| USER_LANGUAGE_CODE | Provides an LCID value that represents the Microsoft Dynamics CRM Language Pack that the user has selected. |
| ORG_LANGUAGE_CODE | Provides an LCID value that represents the Microsoft Dynamics CRM Language Pack that is the base language for the organization. |
| ORG_UNIQUE_NAME | Provides the unique text value of the organizations name. |
Example
This script displays the values of these global variables.
alert("SERVER_URL="+SERVER_URL );
alert("USER_LANGUAGE_CODE="+USER_LANGUAGE_CODE);
alert("ORG_LANGUAGE_CODE="+ORG_LANGUAGE_CODE);
alert("ORG_UNIQUE_NAME="+ORG_UNIQUE_NAME);
See Also
Concepts
Other Resources
© 2010 Microsoft Corporation. All rights reserved.
Show:
