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