bbmsp_profile_get_ppid()

Retrieve the device-independent PPID of the user.

Synopsis:

#include "bbmsp/bbmsp_userprofile.h"
 
BBMSP_API bbmsp_result_t bbmsp_profile_get_ppid(bbmsp_profile_t *profile, char *ppid, size_t buffer_size)

Since:

BlackBerry 10.0.0

Arguments:

profile

A pointer to the user's BBM profile.

ppid

An updated pointer to the PPID buffer array, encoded as UTF-8.

buffer_size

The size of the PPID buffer array.

Library:

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

Description:

The user's PPID is the same across multiple instances of BBM (for example, on a BlackBerry smartphone and a BlackBerry tablet), when the user signs in with the same BlackBerry ID. PPID is encoded as a base64 string using the ASCII character set.

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.