Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets an environment variable.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
EnvironmentVariables | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Name | The name of the environment variable. | "test" |
Value | The new value as text. | "Hello" |
Returns OK or error.
Set a new Variable:
MBS( "EnvironmentVariables.SetValue"; "test"; "Hello World" )
Disable referral chasing during queries to the LDAP server:
MBS( "EnvironmentVariables.SetValue"; "LDAPREFERRALS"; "off" )
This function is free to use.
Created 8th April 2015, last changed 3th January 2024