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

# NSTicketCategoryMembershipEntity

## Constructors

### NSTicketCategoryMembershipEntity()

```crmscript theme={null}
NSTicketCategoryMembershipEntity
```

Initializes a new instance of the NSTicketCategoryMembershipEntity class.

## Methods

## GetUser()

```crmscript theme={null}
NSAssociate GetUser()
```

**Returns:** [CRMScript.NetServer.NSAssociate](CRMScript.NetServer.NSAssociate) - Gets referenced Associate.

**Example:**

```crmscript theme={null}
NSTicketCategoryMembershipEntity thing;
NSAssociate associate = thing.GetUser();
```

## GetWeight()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Gets value used for weighted delegation.

**Example:**

```crmscript theme={null}
NSTicketCategoryMembershipEntity thing;
Integer weight = thing.GetWeight();
```

## SetUser(NSAssociate)

```crmscript theme={null}
Void SetUser(NSAssociate associate)
```

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

**Example:**

```crmscript theme={null}
NSTicketCategoryMembershipEntity thing;
NSAssociate associate;
thing.SetUser(associate);
```

## SetWeight(Integer)

```crmscript theme={null}
Void SetWeight(Integer weight)
```

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

**Example:**

```crmscript theme={null}
NSTicketCategoryMembershipEntity thing;
String externalName;
thing.SetExternalName(externalName);
```


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [SuperOffice.WebApi.Data.TicketCategoryMembershipEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketCategoryMembershipEntity.md)
- [SuperOffice.WebApi.Agents.IListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IListAgent.md)
- [SuperOffice.WebApi.Agents.ListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ListAgent.md)
- [Put Ticket Category Entity](/en/api/reference/restful/rest/list_ticketcategory/put-ticket-category-entity.md)
- [Delete Ticket Category Entity](/en/api/reference/restful/rest/list_ticketcategory/delete-ticket-category-entity.md)
