Codeunit "Tenant Information"
ID 417
Namespace: System.Environment
Exposes functionality to fetch attributes concerning the current tenant.
Properties
| Name | Value |
|---|---|
| Access | Public |
| SingleInstance | True |
| InherentEntitlements | X |
| InherentPermissions | X |
Methods
GetTenantId
Gets the tenant ID.
procedure GetTenantId(): Text
Returns
| Type | Description |
|---|---|
| Text |
If it cannot be found, an empty string is returned. |
GetTenantDisplayName
Gets the tenant name.
procedure GetTenantDisplayName(): Text
Returns
| Type | Description |
|---|---|
| Text |
If it cannot be found, an empty string is returned. |