Configure the username and password of a Wi-Fi aggregator profile.
#include <wifi/wifi_service.h>
WIFI_API wifi_result_t wifi_aggregator_set_profile_security_user_name_password(wifi_aggregator_t *aggregator, const char *username, const char *password)
BlackBerry 10.2.0
The aggregator returned in wifi_aggregator_register().
The new attribute value for username.
The new attribute value for password.
This function configures the username and password.
If the existing aggregator profile corresponds to the currently connected network, WIFI_ERROR_AGGREGATOR_PROFILE_BUSY is returned and the profile is not changed. If the security type is unmatched, WIFI_ERROR_INVALID_PARAMETERS is returned.
A return code from wifi_result_t.