Secret.Service.search_for_dbus_paths

### Method

# Secret Servicesearch_for_dbus_paths

#### Declaration [src]

    void
    secret_service_search_for_dbus_paths (
      SecretService* self,
      const SecretSchema* schema,
      GHashTable* attributes,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Search for items matching the `attributes`, and return their D-Bus object paths.

All collections are searched. The `attributes` should be a table of string keys and string values.

This function returns immediately and completes asynchronously.

When your callback is called use `secret_service_search_for_dbus_paths_finish()` to get the results of this function. Only the D-Bus object paths of the items will be returned. If you would like `SecretItem` objects to be returned instead, then use the `secret_service_search()` function.

Stability: Unstable

This method is not directly available to language bindings.

#### Parameters

`schema`

  Type: `SecretSchema`

  The schema for the attributes.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`attributes`

  Type: `GHashTable`

  Search for items matching these attributes.

  The data is owned by the caller of the method.

`cancellable`

  Type: `GCancellable`

  Optional cancellation object.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`callback`

  Type: `GAsyncReadyCallback`

  Called when the operation completes.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  Data to pass to the callback.

  The argument can be `NULL`.
  The data is owned by the caller of the method.