# os_account_common.h ## Overview Defines common types used in **OsAccount** APIs. **Library**: libos_account_ndk.so **Header file**: **System capability**: SystemCapability.Account.OsAccount **Since**: 12 **Related module**: [OsAccount](capi-osaccount.md) ## Summary ### Enums | Name| typedef Keyword| Description| | -- | -- | -- | | [OsAccount_ErrCode](#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_INTERNAL_ERROR = 12300001 | Internal error.| | OS_ACCOUNT_ERR_INVALID_PARAMETER = 12300002 | Invalid parameter.|