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

# NSContactPersonId

> # TOOd.

# TOOd.

## Constructors

### NSContactPersonId()

```crmscript theme={null}
NSContactPersonId
```

Initializes a new instance of the NSContactPersonId class.

## Methods

## GetContactId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - A contact ID.

## GetPersonId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - A person ID.

## SetContactId(Integer)

```crmscript theme={null}
Void SetContactId(Integer id)
```

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

## SetPersonId(Integer)

```crmscript theme={null}
Void SetPersonId(Integer id)
```

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


## Related topics

- [NSSelectionAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSelectionAgent.md)
- [Contact (person)](/en/contact/dev/index.md)
- [person](/en/api/mdo-providers/reference/person.md)
- [Contact](/en/api/archive-providers/reference/contact.md)
- [Person](/en/api/archive-providers/reference/person.md)
- [Get Persons From Contact](/en/api/reference/restful/agent/person_agent/get-persons-from-contact.md)
