<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/URLUbiquitousSharedItemRole",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@T@NSURLUbiquitousSharedItemRole"
  },
  "title" : "URLUbiquitousSharedItemRole"
}
-->

# URLUbiquitousSharedItemRole

The key for the role of a shared item.

```
struct URLUbiquitousSharedItemRole
```

## Topics

### Creating a Shared Item Role Instance

[`init(rawValue:)`](/documentation/Foundation/URLUbiquitousSharedItemRole/init(rawValue:))

Creates a shared item role instance from the provided constant string.

### Constants

[`NSURLUbiquitousSharedItemRoleOwner`](/documentation/Foundation/URLUbiquitousSharedItemRole/owner)

The values returned for the `NSURLUbiquitousSharedItemCurrentUserRoleKey`.
The current user is the owner of this shared item.

[`NSURLUbiquitousSharedItemRoleParticipant`](/documentation/Foundation/URLUbiquitousSharedItemRole/participant)

The current user is a participant of this shared item.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)