# Class WorkflowRuntimeTenantGlobalParameterExtensions OptimaJet.Workflow.Core.Runtime.WorkflowRuntimeTenantGlobalParameterExtensions Extension methods for tenant-bound global parameter operations. Namespace: [OptimaJet.Workflow.Core.Runtime](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/) ```csharp public static class WorkflowRuntimeTenantGlobalParameterExtensions ``` ## Methods `public static TenantGlobalParameterApi GetTenantGlobalParameterApi(this WorkflowRuntime runtime, string? tenantId)` Creates and returns a tenant-bound global parameter API for the runtime. ### Parameters | Name | Type | Description | | --- | --- | --- | | `runtime` | `WorkflowRuntime` | Workflow runtime used to create the API. | | `tenantId` | `String` | Tenant identifier. If [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null), empty, or whitespace, shared global parameters are used. | ### Returns | Type | Description | | --- | --- | | `TenantGlobalParameterApi` | A [TenantGlobalParameterApi](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/TenantGlobalParameterApi/) instance for the tenant-specific or shared global parameter scope. | ### Exceptions | Type | Description | | --- | --- | | `ArgumentNullException` | `runtime` cannot be [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null). | [Previous WorkflowRuntimeStartResult](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeStartResult/) [Next WorkflowRuntimeTimeExtensions](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/WorkflowRuntimeTimeExtensions/)