1# AbilityAccessControl 2 3 4## Overview 5 6Provides the system capability for implementing application access control. 7 8**Since**: 12 9 10 11## Summary 12 13 14### Files 15 16| Name| Description| 17| -------- | -------- | 18| [ability_access_control.h](ability__access__control_8h.md) | Declares the APIs for implementing application access control. | 19 20 21### Functions 22 23| Name| Description| 24| -------- | -------- | 25| bool [OH_AT_CheckSelfPermission](#oh_at_checkselfpermission)(const char \*permission) | Checks whether a permission is granted to this application. | 26 27 28## Function Description 29 30 31### OH_AT_CheckSelfPermission() 32 33``` 34bool OH_AT_CheckSelfPermission(const char* permission) 35``` 36**Description** 37Checks whether a permission is granted to this application. 38 39**Since**: 12 40 41**Parameters** 42 43| Name| Description| 44| -------- | -------- | 45| permission | Pointer to the permission to check. For details about the permission, see the application permission list. | 46 47**Returns** 48 49Returns **true** if the permission has been granted to the application; returns **false** otherwise. 50