credential_delete_all_for_access_subject()

Permanently remove all credentials that are owned by the given subject.

Synopsis:

#include <sys/credential/credential_policy.h>
 
int credential_delete_all_for_access_subject(const credential_store_t *store,
                                             const credential_access_subject_t *subject)

Since:

BlackBerry 10.3.1

Arguments:

store

The store from which credentials should be removed.

subject

The access subject whose credentials should be deleted.

Library:

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

Description:

This function deletes all credentials that belong to the given subject from Credential Manager's storage.

Returns:

0 if operation was successful, error code otherwise.