setUserId(_:) | Documentation

setUserId(_:)

Sets a user id for the given user.

@objc
func setUserId(_ userId: String?)

Parameters

userId

A String representing the userId to set.

Discussion

Setting to nil removes the value.