> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSCustomerServiceStartup

> Contains various data needed by Service for startup.

Contains various data needed by Service for startup.

**Do not use this API, as it is for internal use and might change without notice.**

## Constructors

### NSCustomerServiceStartup()

```crmscript theme={null}
NSCustomerServiceStartup
```

Initializes a new instance of the NSCustomerServiceStartup class.

## Methods

## GetRecaptchaSiteKey()

```crmscript theme={null}
String GetRecaptchaSiteKey()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - A global reCAPTCHA site key, used with the google reCAPTCHA component.

<Note>
  This value is taken from the web.config file
</Note>

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
String recaptchaSiteKey = thing.GetRecaptchaSiteKey();
```

## GetTimezoneEnabled()

```crmscript theme={null}
Bool GetTimezoneEnabled()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - Is timezone enabled.

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Bool timezoneEnabled = thing.GetTimezoneEnabled();
```

## GetTZOffset()

```crmscript theme={null}
Integer GetTZOffset()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The offset in minutes compared with UTC, calculated for DateTime.Now.

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Integer tZOffset = thing.GetTZOffset();
```

## SetRecaptchaSiteKey(String)

```crmscript theme={null}
Void SetRecaptchaSiteKey(String recaptchaSiteKey)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

<Note>
  This value is taken from the web.config file
</Note>

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
String recaptchaSiteKey;
thing.SetRecaptchaSiteKey(recaptchaSiteKey);
```

## SetTimezoneEnabled(Bool)

```crmscript theme={null}
Void SetTimezoneEnabled(Bool timezoneEnabled)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Bool timezoneEnabled;
thing.SetTimezoneEnabled(timezoneEnabled);
```

## SetTZOffset(Integer)

```crmscript theme={null}
Void SetTZOffset(Integer tZOffset)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSCustomerServiceStartup thing;
Integer tZOffset;
thing.SetTZOffset(tZOffset);
```
