---
title: role
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckshare/participant/role-swift.property
---

# role

The participant’s role for the share.

## Declaration

```swift
var role: CKShare.ParticipantRole { get set }
```

## See Also

### Managing the Participant’s Capabilites

- [permission](cloudkit/ckshare/participant/permission-swift.property.md)
- [CKShare.Participant.Permission](cloudkit/ckshare/participant/permission-swift.typealias.md)
- [CKShare.ParticipantPermission](cloudkit/ckshare/participantpermission.md)
- [CKShare.Participant.Role](cloudkit/ckshare/participant/role-swift.typealias.md)
- [CKShare.ParticipantRole](cloudkit/ckshare/participantrole.md)
