From 862a15d7ef0651c88f921d19913e1b582caf3c89 Mon Sep 17 00:00:00 2001 From: cclicn Date: Thu, 27 Jul 2023 15:48:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B3=BB=E7=BB=9F=E5=B8=90=E5=8F=B7?= =?UTF-8?q?=E3=80=91=E6=8E=A5=E5=8F=A3=E6=96=B0=E5=A2=9E=E5=8F=AF=E9=80=89?= =?UTF-8?q?=E6=9D=83=E9=99=90=E8=AF=B4=E6=98=8E=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cclicn --- zh-cn/application-dev/reference/apis/js-apis-osAccount.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md index 4d839b4eeb..d39c69e211 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md @@ -1755,7 +1755,7 @@ getCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void 查询当前进程所属的系统帐号的信息。使用callback异步回调。 -**需要权限:** ohos.permission.MANAGE_LOCAL_ACCOUNTS +**需要权限:** ohos.permission.MANAGE_LOCAL_ACCOUNTS 或 ohos.permission.GET_LOCAL_ACCOUNTS10+ **系统能力:** SystemCapability.Account.OsAccount @@ -1791,7 +1791,7 @@ getCurrentOsAccount(): Promise<OsAccountInfo> 查询当前进程所属的系统帐号的信息。使用Promise异步回调。 -**需要权限:** ohos.permission.MANAGE_LOCAL_ACCOUNTS +**需要权限:** ohos.permission.MANAGE_LOCAL_ACCOUNTS 或 ohos.permission.GET_LOCAL_ACCOUNTS10+ **系统能力:** SystemCapability.Account.OsAccount -- GitLab