WindowsScript.GetUseSafeSubset
------------------------------

Returns the Safe Subset State of the specified script.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsScript](component_WindowsScript.md) | [1.1](newinversion11.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WindowsScript.GetUseSafeSubset"; ScriptID ) 

**MBS**( **"WindowsScript.GetUseSafeSubset";** /\* Returns the Safe Subset State of the specified script. \*/  
**$ScriptID**) /\* The ID of a WindowsScript in memory. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ScriptID | The ID of a WindowsScript in memory. |  |

### Description

Returns the Safe Subset State of the specified script.   
If Use Safe Subset is enabled then subset of the normal functions are allowed.  
### See also

- [WindowsScript.SetUseSafeSubset](WindowsScriptSetUseSafeSubset.md)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[WindowsScript.GetTimeout](WindowsScriptGetTimeout.md) - [WindowsScript.SetAllowUI](WindowsScriptSetAllowUI.md)

[HTML Version](WindowsScriptGetUseSafeSubset.shtml)