setUserID

fun setUserID(userID: String)

Sets the user context for all subsequent events in the session (or until the user is explicitly cleared) It should be set only after you've fully authenticated the user (including, for example, any 2FA that was required).

Parameters

userID
  • the opaque identifier of the user in your system.