---
title: "collaborationHighlight(forIdentifier:)"
framework: sharedwithyou
role: symbol
role_heading: Instance Method
path: "sharedwithyou/swhighlightcenter/collaborationhighlight(foridentifier:)-23ytv"
---

# collaborationHighlight(forIdentifier:)

Returns a collaboration highlight for a specified collaboration identifier.

## Declaration

```swift
func collaborationHighlight(forIdentifier collaborationIdentifier: SWCollaborationIdentifier) throws -> SWCollaborationHighlight
```

## Parameters

- `collaborationIdentifier`: The unique identifier that the system uses to find the doc://com.apple.sharedwithyou/documentation/SharedWithYou/SWCollaborationHighlight.

## Return Value

Return Value The SWCollaborationHighlight associated with the identifier.

## See Also

### Retrieving collaboration highlights

- [isSystemCollaborationSupportAvailable](sharedwithyou/swhighlightcenter/issystemcollaborationsupportavailable.md)
- [collaborationHighlight(forIdentifier:)](sharedwithyou/swhighlightcenter/collaborationhighlight(foridentifier:)-87lhr.md)
- [getCollaborationHighlight(for:completionHandler:)](sharedwithyou/swhighlightcenter/getcollaborationhighlight(for:completionhandler:).md)
- [getHighlightFor(_:completionHandler:)](sharedwithyou/swhighlightcenter/gethighlightfor(_:completionhandler:).md)
- [getSignedIdentityProof(for:using:completionHandler:)](sharedwithyou/swhighlightcenter/getsignedidentityproof(for:using:completionhandler:).md)
