userId$

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

Observable of the participant’s user ID.

userId

1get userId(): string | undefined

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

Examples

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