# AuthSetting

用户权限设置信息，详情参考[权限](../../../framework/open-ability/authorize.html)

## 属性

### boolean scope.userInfo

是否授权用户信息，对应接口 [qa.getUserInfo](../user-info/qa.getUserInfo.html)

### boolean scope.userLocation

是否授予地理位置权限，对应接口 [qa.getLocation](../../location/qa.getLocation.html), [qa.chooseLocation](../../location/qa.chooseLocation.html)

### boolean scope.record

是否授予录音功能权限，对应接口 [qa.startRecord](../../media/recorder/qa.startRecord.html)

### boolean scope.writePhotosAlbum

是否授予保存到相册权限[qa.saveImageToPhotosAlbum](../../media/image/qa.saveImageToPhotosAlbum.html), [qa.saveVideoToPhotosAlbum](../../media/video/qa.saveVideoToPhotosAlbum.html)

### boolean scope.camera

是否授予摄像头权限，对应接口[qa.scanCode](/api/device/scan/qa.scanCode.html)
