> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSUserValidationResult

## Constructors

### NSUserValidationResult()

```crmscript theme={null}
NSUserValidationResult
```

Initializes a new instance of the NSUserValidationResult class.

## Methods

## GetReason()

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

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

**Example:**

```crmscript theme={null}
NSUserValidationResult thing;
String reason = thing.GetReason();
```

## GetResult()

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

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

**Example:**

```crmscript theme={null}
NSUserValidationResult thing;
Bool result = thing.GetResult();
```

## SetReason(String)

```crmscript theme={null}
Void SetReason(String reason)
```

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

**Example:**

```crmscript theme={null}
NSUserValidationResult thing;
String reason;
thing.SetReason(reason);
```

## SetResult(Bool)

```crmscript theme={null}
Void SetResult(Bool result)
```

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

**Example:**

```crmscript theme={null}
NSUserValidationResult thing;
Bool result;
thing.SetResult(result);
```


## Related topics

- [NSUserAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSUserAgent.md)
- [SuperOffice.WebApi.Data.UserValidationResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserValidationResult.md)
- [How to use System User Client](/en/api/web-services/proxies/superoffice-webapi/systemuserclient.md)
- [Validation checklist](/en/developer-portal/custom-app/checklist.md)
- [SuperOffice.WebApi.Data.AttachmentValidationResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.AttachmentValidationResult.md)
- [SuperOffice.WebApi.Agents.UserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.UserAgent.md)
