ACErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration whose values indicate various errors relating to accessing accounts.
public enum ACErrorCode
type ACErrorCode =
- Inheritance
-
ACErrorCode
Fields
Name | Value | Description |
---|---|---|
Unknown | 1 | Indicates that an unknown error occurred. |
AccountMissingRequiredProperty | 2 | Indicates the the account was not saved because it was missing a required property. |
AccountAuthenticationFailed | 3 | Indicates that the account was not saved because authentication of its credentials failed. |
AccountTypeInvalid | 4 | Indicates that the account was not saved because it was of an invalid type. |
AccountAlreadyExits | 5 | Indicates that an attempt was made to add an account that already exists. |
AccountNotFound | 6 | Indicates that the account was not found, and therefore could not be deleted. |
PermissionDenied | 7 | Indicates that the application did not have permission to complete the operation. |
AccessInfoInvalid | 8 | Indicates that the client access information dictionary is missing values or contains incorrect values. |
ClientPermissionDenied | 9 | Indicates that the client was denied permission. |
AccessDeniedByProtectionPolicy | 10 | Indicates that the current protection policy stopped the credentials from being fetched. |
CredentialNotFound | 11 | Indicates that the credential was not found. |
FetchCredentialFailed | 12 | Indicates that the credentials could not be fetched. |
StoreCredentialFailed | 13 | Indicates that the credentials were not stored in the Keychain. |
RemoveCredentialFailed | 14 | Indicates that the credentials could not be removed from the Keychain. |
UpdatingNonexistentAccount | 15 | Indicates that the target account of an updated did not exist. |
InvalidClientBundleID | 16 | Indicates that the client did not have a valid bundle identifier. |
DeniedByPlugin | 17 | Indicates that the operation was denied by a plug-in. |
CoreDataSaveFailed | 18 | Indicates that Core Data failed to save the account. |
FailedSerializingAccountInfo | 19 | Indicates that the account information could not be serialized. |
InvalidCommand | 20 | Indicates that the command was invalid. |
MissingMessageID | 21 | Indicates that the message identifier was missing. |
MissingTransportMessageId | 21 | Indicates that the message identifier was missing. |
CredentialItemNotFound | 22 | Indicates that the credential item was not found. |
CredentialItemNotExpired | 23 | Indicates that the credential item wasn't expired. |