Update the account label in a credential record.
#include <sys/credential/credential_pwd.h>
int credential_pwd_set_account_label(credential_t *cred,
const char *account_label)
BlackBerry 10.3.1
Password-based credential to update.
A UTF-8 encoded and null-terminated string that contains the account label.
This function updates the in-memory copy of the password-based credential with the new account label.
You must invoke credential_pwd_update() to persist the account label update.
0 if operation was successful, error code otherwise.