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

# NSParticipantSyncData

> Carrier object for ParticipantSyncData.

Carrier object for ParticipantSyncData.

## Constructors

### NSParticipantSyncData()

```crmscript theme={null}
NSParticipantSyncData
```

Initializes a new instance of the NSParticipantSyncData class.

## Methods

## GetContactBusiness()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The business that the contact is associated with.

<Note>
  The GUI forces the user to enter a business type.
</Note>

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactBusiness = thing.GetContactBusiness();
```

## GetContactCategory()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The category that is set on the company.

<Note>
  The GUI forces the user to enter a category type
</Note>

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactCategory = thing.GetContactCategory();
```

## GetContactCountry()

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactCountry = thing.GetContactCountry();
```

## GetContactDepartment()

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactDepartment = thing.GetContactDepartment();
```

## GetContactFullName()

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactFullName = thing.GetContactFullName();
```

## GetContactId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Contact ID of owning contact, may be 0

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
Integer contactId = thing.GetContactId();
```

## GetContactName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Contact name.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactName = thing.GetContactName();
```

## GetContactUrl()

```crmscript theme={null}
String[] GetContactUrl()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)\[] - The contact's internet addresses.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] contactUrl = thing.GetContactUrl();
```

## GetCountry()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The country this contact is located in.

<Note>
  The country a contact is saved with, affects the phone number format, and the address layout.
</Note>

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String country = thing.GetCountry();
```

## GetEMail()

```crmscript theme={null}
String[] GetEMail()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] eMail = thing.GetEMail();
```

## GetMessenger()

```crmscript theme={null}
String[] GetMessenger()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] messenger = thing.GetMessenger();
```

## GetParticipantStatus()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The appointment status for this participant. See \<xref href="CRMScript.NetServer.AppointmentStatus" data-throw-if-not-resolved="false">\</xref>

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
Integer participantStatus = thing.GetParticipantStatus();
```

## GetPersonAcademicTitle()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Academic title, populated from Salutation list but can be overwritten with anything at all.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personAcademicTitle = thing.GetPersonAcademicTitle();
```

## GetPersonAddress()

```crmscript theme={null}
NSAddressSyncData GetPersonAddress()
```

**Returns:** [CRMScript.NetServer.NSAddressSyncData](CRMScript.NetServer.NSAddressSyncData)

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
NSAddressSyncData personAddress = thing.GetPersonAddress();
```

## GetPersonCountry()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The country this contact person is located in.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personCountry = thing.GetPersonCountry();
```

## GetPersonFirstName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - First name.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personFirstName = thing.GetPersonFirstName();
```

## GetPersonFormalName()

Gets formal name for a person, as used in labels. (Full name + person title + academic title)

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personFormalName = thing.GetPersonFormalName();
```

## GetPersonFullName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The person's full name localized to the current culture/country.  (internal name used in clients for employees).

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personFullName = thing.GetPersonFullName();
```

## GetPersonId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Person ID of person the appointment is with, may be 0

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
Integer personId = thing.GetPersonId();
```

## GetPersonLastname()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Last name.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personLastname = thing.GetPersonLastname();
```

## GetPersonMiddleName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Middle name or 'van' etc.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personMiddleName = thing.GetPersonMiddleName();
```

## GetPersonMrmrs()

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personMrmrs = thing.GetPersonMrmrs();
```

## GetPersonPosition()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The position. This is a predefined SuperOffice value, different from Title.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personPosition = thing.GetPersonPosition();
```

## GetPersonTitle()

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personTitle = thing.GetPersonTitle();
```

## GetPhoneContact()

```crmscript theme={null}
String[] GetPhoneContact()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)\[] - Returns a collection of office phone numbers that belong to the contact person.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneContact = thing.GetPhoneContact();
```

## GetPhoneDirect()

```crmscript theme={null}
String[] GetPhoneDirect()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneDirect = thing.GetPhoneDirect();
```

## GetPhoneFax()

Returns a collection of fax numbers that belong to the contact person.

```crmscript theme={null}
String[] GetPhoneFax()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneFax = thing.GetPhoneFax();
```

## GetPhoneMobile()

Returns a collection of mobile phone numbers that belong to the contact person.

```crmscript theme={null}
String[] GetPhoneMobile()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneMobile = thing.GetPhoneMobile();
```

## GetPhonePrivate()

Returns a collection of phone numbers that belong to the contact person.

```crmscript theme={null}
String[] GetPhonePrivate()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phonePrivate = thing.GetPhonePrivate();
```

## GetPostalAddress()

```crmscript theme={null}
NSAddressSyncData GetPostalAddress()
```

**Returns:** [CRMScript.NetServer.NSAddressSyncData](CRMScript.NetServer.NSAddressSyncData)

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
NSAddressSyncData postalAddress = thing.GetPostalAddress();
```

## GetStreetAddress()

```crmscript theme={null}
NSAddressSyncData GetStreetAddress()
```

**Returns:** [CRMScript.NetServer.NSAddressSyncData](CRMScript.NetServer.NSAddressSyncData)

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
NSAddressSyncData streetAddress = thing.GetStreetAddress();
```

## GetUrl()

```crmscript theme={null}
String[] GetUrl()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String)\[] - The URLs related to this person.

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] url = thing.GetUrl();
```

## GetVoip()

```crmscript theme={null}
String[] GetVoip()
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] voip = thing.GetVoip();
```

## SetContactBusiness(String)

```crmscript theme={null}
Void SetContactBusiness(String contactBusiness)
```

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

<Note>
  The GUI forces the user to enter a business type.
</Note>

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactBusiness;
thing.SetContactBusiness(contactBusiness);
```

## SetContactCategory(String)

The GUI forces the user to enter a category type

```crmscript theme={null}
Void SetContactCategory(String contactCategory)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactCategory;
thing.SetContactCategory(contactCategory);
```

## SetContactCountry(String)

```crmscript theme={null}
Void SetContactCountry(String contactCountry)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactCountry;
thing.SetContactCountry(contactCountry);
```

## SetContactDepartment(String)

```crmscript theme={null}
Void SetContactDepartment(String contactDepartment)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactDepartment;
thing.SetContactDepartment(contactDepartment);
```

## SetContactFullName(String)

```crmscript theme={null}
Void SetContactFullName(String contactFullName)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactFullName;
thing.SetContactFullName(contactFullName);
```

## SetContactId(Integer)

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
Integer contactId;
thing.SetContactId(contactId);
```

## SetContactName(String)

```crmscript theme={null}
Void SetContactName(String contactName)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String contactName;
thing.SetContactName(contactName);
```

## SetContactUrl(String\[])

```crmscript theme={null}
Void SetContactUrl(String[] contactUrl)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] contactUrl;
thing.SetContactUrl(contactUrl);
```

## SetCountry(String)

```crmscript theme={null}
Void SetCountry(String country)
```

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

<Note>
  The country a contact is saved with, affects the phone number format, and the address layout.
</Note>

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String country;
thing.SetCountry(country);
```

## SetEMail(String\[])

```crmscript theme={null}
Void SetEMail(String[] eMail)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] eMail;
thing.SetEMail(eMail);
```

## SetMessenger(String\[])

```crmscript theme={null}
Void SetMessenger(String[] messenger)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] messenger;
thing.SetMessenger(messenger);
```

## SetParticipantStatus(Integer)

```crmscript theme={null}
Void SetParticipantStatus(Integer participantStatus)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
Integer participantStatus;
thing.SetParticipantStatus(participantStatus);
```

## SetPersonAcademicTitle(String)

```crmscript theme={null}
Void SetPersonAcademicTitle(String personAcademicTitle)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personAcademicTitle;
thing.SetPersonAcademicTitle(personAcademicTitle);
```

## SetPersonAddress(NSAddressSyncData)

```crmscript theme={null}
Void SetPersonAddress(NSAddressSyncData personAddress)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
NSAddressSyncData personAddress;
thing.SetPersonAddress(personAddress);
```

## SetPersonCountry(String)

```crmscript theme={null}
Void SetPersonCountry(String personCountry)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personCountry;
thing.SetPersonCountry(personCountry);
```

## SetPersonFirstName(String)

```crmscript theme={null}
Void SetPersonFirstName(String personFirstName)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personFirstName;
thing.SetPersonFirstName(personFirstName);
```

## SetPersonFormalName(String)

```crmscript theme={null}
Void SetPersonFormalName(String personFormalName)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personFormalName;
thing.SetPersonFormalName(personFormalName);
```

## SetPersonFullName(String)

```crmscript theme={null}
Void SetPersonFullName(String personFullName)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personFullName;
thing.SetPersonFullName(personFullName);
```

## SetPersonId(Integer)

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

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
Integer personId;
thing.SetPersonId(personId);
```

## SetPersonLastname(String)

```crmscript theme={null}
Void SetPersonLastname(String personLastname)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personLastname;
thing.SetPersonLastname(personLastname);
```

## SetPersonMiddleName(String)

```crmscript theme={null}
Void SetPersonMiddleName(String personMiddleName)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personMiddleName;
thing.SetPersonMiddleName(personMiddleName);
```

## SetPersonMrmrs(String)

```crmscript theme={null}
Void SetPersonMrmrs(String personMrmrs)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personMrmrs;
thing.SetPersonMrmrs(personMrmrs);
```

## SetPersonPosition(String)

```crmscript theme={null}
Void SetPersonPosition(String personPosition)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personPosition;
thing.SetPersonPosition(personPosition);
```

## SetPersonTitle(String)

```crmscript theme={null}
Void SetPersonTitle(String personTitle)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String personTitle;
thing.SetPersonTitle(personTitle);
```

## SetPhoneContact(String\[])

Returns a collection of office phone numbers that belong to the contact person.

```crmscript theme={null}
Void SetPhoneContact(String[] phoneContact)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneContact;
thing.SetPhoneContact(phoneContact);
```

## SetPhoneDirect(String\[])

```crmscript theme={null}
Void SetPhoneDirect(String[] phoneDirect)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneDirect;
thing.SetPhoneDirect(phoneDirect);
```

## SetPhoneFax(String\[])

```crmscript theme={null}
Void SetPhoneFax(String[] phoneFax)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneFax;
thing.SetPhoneFax(phoneFax);
```

## SetPhoneMobile(String\[])

```crmscript theme={null}
Void SetPhoneMobile(String[] phoneMobile)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phoneMobile;
thing.SetPhoneMobile(phoneMobile);
```

## SetPhonePrivate(String\[])

```crmscript theme={null}
Void SetPhonePrivate(String[] phonePrivate)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] phonePrivate;
thing.SetPhonePrivate(phonePrivate);
```

## SetPostalAddress(NSAddressSyncData)

```crmscript theme={null}
Void SetPostalAddress(NSAddressSyncData postalAddress)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
NSAddressSyncData postalAddress;
thing.SetPostalAddress(postalAddress);
```

## SetStreetAddress(NSAddressSyncData)

```crmscript theme={null}
Void SetStreetAddress(NSAddressSyncData streetAddress)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
NSAddressSyncData streetAddress;
thing.SetStreetAddress(streetAddress);
```

## SetUrl(String\[])

```crmscript theme={null}
Void SetUrl(String[] url)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] url;
thing.SetUrl(url);
```

## SetVoip(String\[])

```crmscript theme={null}
Void SetVoip(String[] voip)
```

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

**Example:**

```crmscript theme={null}
NSParticipantSyncData thing;
String[] voip;
thing.SetVoip(voip);
```


## Related topics

- [NSAppointmentSyncData](/en/automation/crmscript/reference/CRMScript.NetServer.NSAppointmentSyncData.md)
- [SuperOffice.WebApi.Data.ParticipantSyncData](/en/api/reference/webapi/SuperOffice.WebApi.Data.ParticipantSyncData.md)
- [Participants](/en/api/archive-providers/reference/participants.md)
- [Get My Sync Appointments](/en/api/reference/restful/agent/appointment_agent/get-my-sync-appointments.md)
