diff --git a/api/@ohos.account.osAccount.d.ts b/api/@ohos.account.osAccount.d.ts index ba076d5dd09d062d8cae1af06e7d6f4310d0e1d1..dc937690e572a1bca4419ba8f2bce1dd04449ca4 100644 --- a/api/@ohos.account.osAccount.d.ts +++ b/api/@ohos.account.osAccount.d.ts @@ -258,6 +258,15 @@ declare namespace osAccount { queryAllCreatedOsAccounts(callback: AsyncCallback>): void; queryAllCreatedOsAccounts(): Promise>; + /** + * Queries the id list of all activated OS accounts. + * + * @since 8 + * @return Returns a id list of OS accounts. + */ + queryActivatedOsAccountIds(callback: AsyncCallback>): void; + queryActivatedOsAccountIds(): Promise>; + /** * Creates an OS account using the local name and account type. *