userId$

View as MarkdownOpen in Claude
1get userId$(): Observable<string | undefined>

Observable of the participant’s user ID.

Inherited from

Participant.userId$

userId

1get userId(): string | undefined

User ID of this participant, or undefined if not available.

Inherited from

Participant.userId

Examples

1selfParticipant.userId$.subscribe((userId) => {
2 console.log('userId:', userId);
3});