> ## 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.

# NSResolvedPerson

> The Person Service. The service implements all services working with the Person object.

The Person Service. The service implements all services working with the Person object.

## Constructors

### NSResolvedPerson()

```crmscript theme={null}
NSResolvedPerson
```

Initializes a new instance of the NSResolvedPerson class.

## Methods

## GetPerson()

```crmscript theme={null}
NSPersonEntity GetPerson()
```

**Returns:** [CRMScript.NetServer.NSPersonEntity](CRMScript.NetServer.NSPersonEntity) - The resolved NSPersonEntity instance.

**Example:**

```crmscript theme={null}
NSResolvedPerson thing;
NSPersonEntity person = thing.GetPerson();
```

## GetPersonCreated()

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

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - Indicates if the resolved person was created or not.

**Example:**

```crmscript theme={null}
NSResolvedPerson thing;
Bool personCreated = thing.GetPersonCreated();
```

## SetPerson(NSPersonEntity)

```crmscript theme={null}
Void SetPerson(NSPersonEntity person)
```

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

**Example:**

```crmscript theme={null}
NSResolvedPerson thing;
NSPersonEntity person;
thing.SetPerson(person);
```

## SetPersonCreated(Bool)

```crmscript theme={null}
Void SetPersonCreated(Bool personCreated)
```

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

**Example:**

```crmscript theme={null}
NSResolvedPerson thing;
Bool personCreated;
thing.SetPersonCreated(personCreated);
```


## Related topics

- [NSPersonAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSPersonAgent.md)
- [SuperOffice.WebApi.Data.ResolvedPerson](/en/api/reference/webapi/SuperOffice.WebApi.Data.ResolvedPerson.md)
- [NSResolvedUser](/en/automation/crmscript/reference/CRMScript.NetServer.NSResolvedUser.md)
- [SuperOffice.WebApi.Data.ResolvedUser](/en/api/reference/webapi/SuperOffice.WebApi.Data.ResolvedUser.md)
- [SuperOffice.WebApi.Agents.PersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.PersonAgent.md)
- [SuperOffice.WebApi.Data.PersonEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.PersonEntity.md)
