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

# NSSoPrincipalCarrier

## Constructors

### NSSoPrincipalCarrier()

```crmscript theme={null}
NSSoPrincipalCarrier
```

Initializes a new instance of the NSSoPrincipalCarrier class.

## Methods

## GetAssociate()

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

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

## GetAssociateId()

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

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

## GetBusinessId()

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

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

## GetCategoryId()

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

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

## GetContactId()

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

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

## GetContactOwner()

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

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

## GetCountryId()

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

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

## GetDatabaseContextIdentifier()

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

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

## GetEjAccessLevel()

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

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

## GetEjUserId()

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

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

## GetEjUserStatus()

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

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

## GetEMailAddress()

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

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

## GetFullName()

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

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

## GetFunctionRights()

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

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

## GetGroupId()

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

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

## GetHomeCountryId()

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

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

## GetIsPerson()

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

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

## GetLicenses()

```crmscript theme={null}
NSGrantedModuleLicense[] GetLicenses()
```

**Returns:** [CRMScript.NetServer.NSGrantedModuleLicense](CRMScript.NetServer.NSGrantedModuleLicense)\[]

## GetPersonId()

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

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

## GetProvidedCredentials()

```crmscript theme={null}
NSProvidedCredential[] GetProvidedCredentials()
```

**Returns:** [CRMScript.NetServer.NSProvidedCredential](CRMScript.NetServer.NSProvidedCredential)\[]

## GetRoleDescription()

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

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

## GetRoleId()

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

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

## GetRoleName()

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

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

## GetRoleType()

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

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

## GetSecondaryGroups()

```crmscript theme={null}
Integer[] GetSecondaryGroups()
```

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

## GetUserType()

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

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

## SetAssociate(String)

```crmscript theme={null}
Void SetAssociate(String associate)
```

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

## SetAssociateId(Integer)

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

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

## SetBusinessId(Integer)

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

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

## SetCategoryId(Integer)

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

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

## SetContactId(Integer)

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

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

## SetContactOwner(Integer)

```crmscript theme={null}
Void SetContactOwner(Integer owner)
```

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

## SetCountryId(Integer)

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

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

## SetDatabaseContextIdentifier(String)

```crmscript theme={null}
Void SetDatabaseContextIdentifier(String id)
```

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

## SetEjAccessLevel(Integer)

```crmscript theme={null}
Void SetEjAccessLevel(Integer level)
```

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

## SetEjUserId(Integer)

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

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

## SetEjUserStatus(Integer)

```crmscript theme={null}
Void SetEjUserStatus(Integer status)
```

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

## SetEMailAddress(String)

```crmscript theme={null}
Void SetEMailAddress(String email)
```

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

## SetFullName(String)

```crmscript theme={null}
Void SetFullName(String name)
```

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

## SetFunctionRights(String\[])

```crmscript theme={null}
Void SetFunctionRights(String[] rights)
```

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

## SetGroupId(Integer)

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

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

## SetHomeCountryId(Integer)

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

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

## SetIsPerson(Bool)

```crmscript theme={null}
Void SetIsPerson(Bool isPerson)
```

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

## SetLicenses(NSGrantedModuleLicense\[])

```crmscript theme={null}
Void SetLicenses(NSGrantedModuleLicense[] licenses)
```

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

## SetPersonId(Integer)

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

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

## SetProvidedCredentials(NSProvidedCredential\[])

```crmscript theme={null}
Void SetProvidedCredentials(NSProvidedCredential[] credentials)
```

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

## SetRoleDescription(String)

```crmscript theme={null}
Void SetRoleDescription(String description)
```

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

## SetRoleId(Integer)

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

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

## SetRoleName(String)

```crmscript theme={null}
Void SetRoleName(String name)
```

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

## SetRoleType(Integer)

```crmscript theme={null}
Void SetRoleType(Integer type)
```

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

## SetSecondaryGroups(Integer\[])

```crmscript theme={null}
Void SetSecondaryGroups(Integer[] groups)
```

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

## SetUserType(Integer)

```crmscript theme={null}
Void SetUserType(Integer type)
```

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


## Related topics

- [SuperOffice.WebApi.Data.SoPrincipalCarrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.SoPrincipalCarrier.md)
- [SuperOffice.WebApi.Agents.UserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.UserAgent.md)
- [Get Current Principal](/en/api/reference/restful/rest/user/get-current-principal.md)
- [SuperOffice.WebApi.Agents.IUserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IUserAgent.md)
- [SuperOffice.License.SoLicenseNames](/en/api/reference/webapi/SuperOffice.License.SoLicenseNames.md)
