1# PermissionDef (System API)
2
3The **PermissionDef** module provides permission details defined in the configuration file. The information can be obtained using [bundleManager.getPermissionDef](js-apis-bundleManager-sys.md#bundlemanagergetpermissiondef).
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8>
9> The APIs provided by this module are system APIs.
10
11## **PermissionDef**
12
13**System capability**: SystemCapability.BundleManager.BundleFramework.Core
14
15**System API**: This is a system API and cannot be called by third-party applications.
16
17| Name          | Type  | Read-Only| Optional| Description          |
18| -------------- | ------ | ---- | ---- | -------------- |
19| permissionName | string | Yes  | No  | Name of the permission.  |
20| grantMode      | number | Yes  | No  | Grant mode of the permission.|
21| labelId        | number | Yes  | No  | ID of the permission label.  |
22| descriptionId  | number | Yes  | No  | ID of the permission description.  |
23