Set the provider policy that should be enforced.
#include <sys/credential/credential_policy.h>
int credential_query_set_provider_policy(credential_query_t *query,
credential_provider_policy_mask_t policy)
BlackBerry 10.3.1
The query to update.
The provider policy to apply.
Specify which provider operations are permitted when the input query is executed.
By default, the query will use CREDENTIAL_PROVIDER_POLICY_ALLOW_ADD | CREDENTIAL_PROVIDER_POLICY_ALLOW_UPDATE for password-based credentials and CREDENTIAL_PROVIDER_POLICY_DISALLOW_ALL for certificate-based credentials.
0 if operation was successful, error code otherwise.