Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 767 Bytes

set-user-id.mdx

File metadata and controls

21 lines (14 loc) · 767 Bytes
title metaTitle metaDescription
iOS SDK - setUserID method
iOS SDK - setUserID method
Details about the setUserID method from OpenReplay's iOS SDK

This method allows you to set a user ID on the currently active session. This allows you to associate a user to the replay, which would allow you to filter and search sessions for one particular user.

Signature

ORTracker.shared.setUserID(_ userID: String)

Parameters

  • userID: String: The ID of the user. This is a string and can be anything as long as it's a string and it allows you to uniquely identify a user within your system (i.e. email, database id, etc).

Return value

This method doesn't return any values, the results will be visible in the OpenReplay platform.