diff --git a/services/accountmgr/include/osaccount/iinner_os_account_manager.h b/services/accountmgr/include/osaccount/iinner_os_account_manager.h index cab59a20d..0a78120ea 100644 --- a/services/accountmgr/include/osaccount/iinner_os_account_manager.h +++ b/services/accountmgr/include/osaccount/iinner_os_account_manager.h @@ -110,7 +110,7 @@ public: const sptr &callback, const CreateOsAccountForDomainOptions &options = {}); ErrCode SendMsgForAccountCreate(OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &options = {}); ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo); - ErrCode GetOsAccountFromDomain(const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo); + ErrCode GetOsAccountFromDomain(const DomainAccountInfo &domainInfo, int &id, OsAccountInfo &osAccountInfo); ErrCode UpdateAccountStatusForDomain(const int id, DomainAccountStatus status); ErrCode GetTypeNumber(const OsAccountType& type, int32_t& typeNumber) override; ErrCode CheckTypeNumber(const OsAccountType& type) override;