Searched refs:osAccountType (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/account/os_account/tools/acm/src/ |
H A D | account_command.cpp | 134 std::string &shortName, OsAccountType &osAccountType, std::vector<std::string> &disallowedList) in ParseCreateCommandOpt() argument 156 …result = RunAsCreateCommandExistentOptionArgument(option, name, shortName, osAccountType, disallow… in ParseCreateCommandOpt() 167 OsAccountType osAccountType = END; in RunAsCreateCommand() local 169 result = ParseCreateCommandOpt(name, shortName, osAccountType, options.disallowedHapList); in RunAsCreateCommand() 171 if (name.size() == 0 || osAccountType == END) { in RunAsCreateCommand() 178 if (osAccountType == END) { in RunAsCreateCommand() 197 …result = OsAccount::GetInstance().CreateOsAccount(name, shortName, osAccountType, osAccountInfo, o… in RunAsCreateCommand() 210 …("result = %{public}d, name = %{public}s, type = %{public}d", result, name.c_str(), osAccountType); in RunAsCreateCommand()
|
/ohos5.0/base/useriam/user_auth_framework/services/core/src/ |
H A D | ipc_common.cpp | 124 …atic HdiUserType MapOsAccountTypeToUserType(int32_t userId, AccountSA::OsAccountType osAccountType) in MapOsAccountTypeToUserType() argument 126 if (osAccountType == AccountSA::OsAccountType::PRIVATE) { in MapOsAccountTypeToUserType() 138 AccountSA::OsAccountType osAccountType; in GetUserTypeByUserId() local 139 ErrCode ret = AccountSA::OsAccountManager::GetOsAccountType(userId, osAccountType); in GetUserTypeByUserId() 144 userType = MapOsAccountTypeToUserType(userId, osAccountType); in GetUserTypeByUserId()
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account.cpp | 116 napi_value osAccountType = nullptr; in OsAccountInit() local 117 napi_create_object(env, &osAccountType); in OsAccountInit() 119 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_ADMIN, "ADMIN"); in OsAccountInit() 120 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_NORMAL, "NORMAL"); in OsAccountInit() 121 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_GUEST, "GUEST"); in OsAccountInit() 122 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_PRIVATE, "PRIVATE"); in OsAccountInit() 138 DECLARE_NAPI_PROPERTY("OsAccountType", osAccountType), in OsAccountInit()
|
/ohos5.0/base/account/os_account/tools/acm/include/ |
H A D | account_command.h | 141 … std::string &shortName, OsAccountType &osAccountType, std::vector<std::string> &disallowedList);
|
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_stub.cpp | 625 OsAccountType osAccountType = static_cast<OsAccountType>(type); in ProcCreateOsAccountWithShortName() local 632 ErrCode result = CreateOsAccount(localName, shortName, osAccountType, osAccountInfo, *options); in ProcCreateOsAccountWithShortName()
|