Retrieve the owner type from credentials.
#include <sys/credential/credential_policy.h>
int credential_get_owner_type(const credential_t *cred,
credential_owner_type_t *owner_type)
BlackBerry 10.3.1
The credential from which to retrieve the owner type.
The concrete owner type for given credential.
This function returns the owner type of given credential.
0 if operation was successful, error code otherwise.