---
title: Participant
framework: groupactivities
role: symbol
role_heading: Structure
path: groupactivities/participant
---

# Participant

An active participant in a group session.

## Declaration

```swift
struct Participant
```

## Mentioned in

Configure your visionOS app for sharing with people nearby Synchronizing data during a SharePlay activity

## Overview

Overview Use a Participant object to differentiate among users in a session. A participant object doesn’t contain any sensitive data about the user, but provides a unique identifier to distinguish the user while the session is active. You don’t create participant objects directly. The system creates a participant object for each user that joins an activity. Access the current set of participants from the activeParticipants property of the GroupSession object associated with the activity.

## Topics

### Getting the unique identifier

- [id](groupactivities/participant/id.md)

### Instance Properties

- [isNearbyWithLocalParticipant](groupactivities/participant/isnearbywithlocalparticipant.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Session management

- [Joining and managing a shared activity](groupactivities/joining-and-managing-a-shared-activity.md)
- [Drawing content in a group session](groupactivities/drawing_content_in_a_group_session.md)
- [GroupSession](groupactivities/groupsession.md)
- [CustomMessageIdentifiable](groupactivities/custommessageidentifiable.md)
