## **Overview**
**Related Modules:**
[PMS](pms.md)
**Description:**
Declares interfaces for managing permissions.
The interfaces can be used to authenticate native APIs, query, grant, and revoke permissions, and grant runtime permissions.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Functions
CheckPermission (int taskID, const char *permissionName) | Checks whether the caller (generally a third-party application) has a specified permission of a system service API. |
QueryPermission (const char *identifier, PermissionSaved **permissions, int *permNum) | Queries all permissions requested by the application and checks whether these permissions are granted. |
GrantPermission (const char *identifier, const char *permName) | Grants a specified permission to the application. |
RevokePermission (const char *identifier, const char *permName) | Revokes a specified permission from the application. |
GrantRuntimePermission (int taskID, const char *permissionName) | Grants a specified runtime permission to an application. |
RequestPermission (int taskID, const char *permissionName) | Requests a specified permission. |