Set the user prompt policy for the given input query.
#include <sys/credential/credential_policy.h>
int credential_query_set_user_prompt_policy(credential_query_t *query,
credential_user_prompt_policy_mask_t policy)
BlackBerry 10.3.1
The query to update.
The user prompt policy to apply.
This function sets the user prompt policy that should be enforced if the query fails to retrieve any existing credentials.
By default, the query will use CREDENTIAL_USER_PROMPT_POLICY_ALLOW. This implies that if target query does not find existing credentials, the user may be prompted.
0 if operation was successful, error code otherwise.