You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Utility/getGlobalContext/organizationSettings.md
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,34 @@ Returns the ID of the current organization.
128
128
129
129
**Description**: Id of the current organization.
130
130
131
+
## isTrialOrganization
132
+
133
+
Returns a boolean indicating whether the organization is a trial organization.
134
+
135
+
### Syntax
136
+
137
+
`organizationSettings.isTrialOrganization`
138
+
139
+
### Return Value
140
+
141
+
**Type**: Boolean
142
+
143
+
**Description**: **true** if the organization is a trial organization; **false** otherwise.
144
+
145
+
## organizationExpiryDate
146
+
147
+
Returns the expiry date of the current organization if it is a trial organization.
148
+
149
+
### Syntax
150
+
151
+
`organizationSettings.organizationExpiryDate`
152
+
153
+
### Return Value
154
+
155
+
**Type**: Date
156
+
157
+
**Description**: Returns a `Date` object with the organization's expiry date if it is a trial organizaiton. Returns NULL if the organization is not a trial organization.
158
+
131
159
## uniqueName
132
160
133
161
Returns the unique name of the current organization.
0 commit comments