setClientProvideUserId

Set or remove the client provided user ID.

When the used ID is removed by passing null, [getUserId] might return the [serverProvidedUserId].

Parameters

userId

A new user ID, or null to remove the old one.