uds_category_data_set_account_id()

Set the account key for the specified category data.

Synopsis:

#include "bb/pim/unified/unified_data_source.h"
 
void uds_category_data_set_account_id(uds_category_data_t *category, uds_account_key_t account_id)

Since:

BlackBerry 10.2.0

Arguments:

category

The category to set the account key for. This category is represented by a uds_category_data_t and is created using uds_category_data_create().

account_id

The unique account key to set, as a uds_account_key_t.

Library:

libunifieddatasourcec (For the qcc command, use the -l unifieddatasourcec option to link against this library)

Description:

The account key for an account is unique across the platform and it identifies a particular user account on a device. You can obtain this key by using the PIM Accounts API. The account key that you specify determines the account that this category appears in.

Returns: