---
title: Join
framework: DriverKit
role: symbol
role_heading: Instance Method
path: driverkit/ioworkgroup/join
---

# Join

## Declaration

```occ
kern_return_t Join(void *token);
```

## Parameters

- `token`: The workgroup token.

## Return Value

Return Value kIOReturnSuccess on success. See IOReturn.h for error codes.

## Discussion

Discussion Join the workgroup. Before calling this method, the caller must allocate a token. This token must be passed to this method. When leaving a workgroup with Leave(), use the same token that was passed to Join().
