1e41f4b71Sopenharmony_ci# Requesting User Authorization for the Second Time
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciIf the user rejects to grant the permission when an application calls [requestPermissionsFromUser()](../../reference/apis-ability-kit/js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9) to [request user authorization](request-user-authorization.md) in a dialog box, the application will no longer start the user authorization dialog box again by using **requestPermissionsFromUser**. If the application still needs the permission, you can use either of the following methods:
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci- Allow the user to manually grant the permission using the system application **Settings** in the following path:
6e41f4b71Sopenharmony_ci  <!--RP1-->
7e41f4b71Sopenharmony_ci  **Privacy** > **Permission manager** > *Permission* (such as **Microphone**) > *Application*
8e41f4b71Sopenharmony_ci  <!--RP1End-->
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci- Start the permission settings dialog box by using [requestPermissionOnSetting()](../../reference/apis-ability-kit/js-apis-abilityAccessCtrl.md#requestpermissiononsetting12) and guide the user to grant the permission.
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ciThe following code shows how to request the ohos.permission.MICROPHONE permission in this way.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci```ts
16e41f4b71Sopenharmony_ciimport { abilityAccessCtrl, Context, common } from '@kit.AbilityKit';
17e41f4b71Sopenharmony_ciimport { BusinessError } from '@kit.BasicServicesKit';
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_cilet atManager: abilityAccessCtrl.AtManager = abilityAccessCtrl.createAtManager();
20e41f4b71Sopenharmony_cilet context: Context = getContext(this) as common.UIAbilityContext;
21e41f4b71Sopenharmony_ciatManager.requestPermissionOnSetting(context, ['ohos.permission.MICROPHONE']).then((data: Array<abilityAccessCtrl.GrantStatus>) => {
22e41f4b71Sopenharmony_ci  console.info('data:' + JSON.stringify(data));
23e41f4b71Sopenharmony_ci}).catch((err: BusinessError) => {
24e41f4b71Sopenharmony_ci  console.error('data:' + JSON.stringify(err));
25e41f4b71Sopenharmony_ci});
26e41f4b71Sopenharmony_ci```
27