unSetUserIdentities method removes user identities that were set using the setUserIdentities method.
Syntax
Usage Example
Related Methods
- setUserIdentities - Set user identities
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
New: Support & Diagnostics troubleshooting guides are now live.
Clear user identities from storage.
unSetUserIdentities method removes user identities that were set using the setUserIdentities method.
Collect.getInstance()?.unSetUserIdentities()
// Clear user identities on logout
func handleLogout() {
Collect.getInstance()?.unSetUserIdentities()
print("User identities cleared")
}
Was this page helpful?