1# AbilityAccessControl
2
3
4## Overview
5
6Provides the system capability for implementing process 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 process access control. |
19
20
21### Functions
22
23| Name| Description|
24| -------- | -------- |
25| bool [OH_AT_CheckSelfPermission](#oh_at_checkselfpermission)(const char \*permission) | Checks whether the specified permission is granted to the application. |
26
27
28## Function Description
29
30
31### OH_AT_CheckSelfPermission()
32
33```
34bool OH_AT_CheckSelfPermission(const char* permission)
35```
36**Description**
37
38Checks whether the specified permission is granted to the application.
39
40**Since**: 12
41
42**Parameters**
43
44| Name| Description|
45| -------- | -------- |
46| permission | Permission to check. For details about the permissions, see the application permission list. |
47
48**Returns**
49
50Returns **true** if the permission has been granted to the application; returns **false** otherwise.
51