os_account_common.h

Overview

Defines common types used in OsAccount APIs.

Library: libos_account_ndk.so

Header file: <BasicServicesKit/os_account_common.h>

System capability: SystemCapability.Account.OsAccount

Since: 12

Related module: OsAccount

Summary

Enums

Name typedef Keyword Description
OsAccount_ErrCode OsAccount_ErrCode Enumerates the error codes.

Enum Description

OsAccount_ErrCode

enum OsAccount_ErrCode

Description

Enumerates the error codes.

Since: 12

Enum Item Description
OS_ACCOUNT_ERR_OK = 0 Success.
OS_ACCOUNT_ERR_PERMISSION_DENIED = 201 No permission.
Since: 26.0.0
OS_ACCOUNT_ERR_INTERNAL_ERROR = 12300001 Internal error.
OS_ACCOUNT_ERR_INVALID_PARAMETER = 12300002 Invalid parameter.
OS_ACCOUNT_ERR_ACCOUNT_NOT_FOUND = 12300003 Account not found.
Since: 26.0.0
OS_ACCOUNT_ERR_RESTRICTED_ACCOUNT = 12300008 Restricted account.
Since: 26.0.0