Searched refs:osAccountType (Results 1 – 4 of 4) sorted by relevance
/base/account/os_account/tools/acm/src/ |
D | account_command.cpp | 97 std::string &shortName, OsAccountType &osAccountType, std::vector<std::string> &disallowedList) in ParseCreateCommandOpt() argument 119 …result = RunAsCreateCommandExistentOptionArgument(option, name, shortName, osAccountType, disallow… in ParseCreateCommandOpt() 130 OsAccountType osAccountType = static_cast<OsAccountType>(-1); in RunAsCreateCommand() local 132 result = ParseCreateCommandOpt(name, shortName, osAccountType, options.disallowedHapList); in RunAsCreateCommand() 134 if (name.size() == 0 || osAccountType == static_cast<OsAccountType>(-1)) { in RunAsCreateCommand() 141 if (osAccountType == static_cast<OsAccountType>(-1)) { in RunAsCreateCommand() 160 …result = OsAccount::GetInstance().CreateOsAccount(name, shortName, osAccountType, osAccountInfo, o… in RunAsCreateCommand() 173 …("result = %{public}d, name = %{public}s, type = %{public}d", result, name.c_str(), osAccountType); in RunAsCreateCommand()
|
/base/account/os_account/tools/acm/include/ |
D | account_command.h | 140 … std::string &shortName, OsAccountType &osAccountType, std::vector<std::string> &disallowedList);
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account.cpp | 111 napi_value osAccountType = nullptr; in OsAccountInit() local 112 napi_create_object(env, &osAccountType); in OsAccountInit() 114 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_ADMIN, "ADMIN"); in OsAccountInit() 115 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_NORMAL, "NORMAL"); in OsAccountInit() 116 SetEnumProperty(env, osAccountType, OS_ACCOUNT_TYPE_GUEST, "GUEST"); in OsAccountInit() 132 DECLARE_NAPI_PROPERTY("OsAccountType", osAccountType), in OsAccountInit()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_stub.cpp | 472 OsAccountType osAccountType = static_cast<OsAccountType>(type); in ProcCreateOsAccountWithShortName() local 479 ErrCode result = CreateOsAccount(localName, shortName, osAccountType, osAccountInfo, *options); in ProcCreateOsAccountWithShortName()
|