searchContactByName

abstract suspend fun searchContactByName(name: String?, restrictToUserCompany: Boolean = false): RainbowResult<List<IRainbowContact>>

Searches for contacts by name.

This method searches for contacts whose names match the specified string.

Return

RainbowResult> callback invoked upon completion of the operation.

Parameters

name

The name or part of the name to search for.

restrictToUserCompany

Indicates whether to limit the search to contacts within the user's company. Default is false.