<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/IOWorkGroup/Join",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOWorkGroup@F@Join#*v#"
  },
  "title" : "Join"
}
-->

# Join

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

## Parameters

`token`

The workgroup token.

## Return Value

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

## Discussion\abstract Join the workgroup.
\discussion 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().

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)