Set the owner type that should be used when performing query.
#include <sys/credential/credential_policy.h>
int credential_query_set_owner_type(credential_query_t *query,
credential_owner_type_t owner_type)
BlackBerry 10.3.1
The query to update.
The owner type to restrict query to.
Specify the owner type that the input query should be restricted to when it is executed.
By default, the query will use CREDENTIAL_OWNER_TYPE_USER.
0 if operation was successful, error code otherwise.