credential_get_owner_type()

Retrieve the owner type from credentials.

Synopsis:

#include <sys/credential/credential_policy.h>
 
int credential_get_owner_type(const credential_t *cred,
                              credential_owner_type_t *owner_type)

Since:

BlackBerry 10.3.1

Arguments:

cred

The credential from which to retrieve the owner type.

owner_type

The concrete owner type for given credential.

Library:

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

Description:

This function returns the owner type of given credential.

Returns:

0 if operation was successful, error code otherwise.