Enum UserOperationStatus
Used to signal a user operation succeeded or an atomic failure reason
Namespace: Umbraco.Cms.Core.Services.OperationStatus
Assembly: Umbraco.Core.dll
Syntax
public enum UserOperationStatus
Fields
| Name | Description |
|---|---|
| AdminUserGroupMustNotBeEmpty | The operation failed because the admin user group must not be empty. |
| AvatarFileNotFound | The operation failed because the avatar file could not be found. |
| CancelledByNotification | The operation was cancelled by a notification handler. |
| CannotDelete | The operation failed because the user cannot be deleted. |
| CannotDeleteSelf | The operation failed because the current user cannot delete themselves. |
| CannotDisableInvitedUser | The operation failed because an invited user cannot be disabled. |
| CannotDisableSelf | The operation failed because the current user cannot disable themselves. |
| CannotInvite | The operation failed because the user cannot be invited. |
| CannotPasswordReset | The operation failed because password reset is not allowed for this user. |
| ContentNodeNotFound | The operation failed because the content node could not be found. |
| ContentStartNodeNotFound | The operation failed because the content start node could not be found. |
| DuplicateEmail | The operation failed because a user with the same email address already exists. |
| DuplicateId | The operation failed because a user with the same ID already exists. |
| DuplicateUserName | The operation failed because a user with the same username already exists. |
| EmailCannotBeChanged | The operation failed because the email address cannot be changed. |
| Forbidden | The operation failed because access to the requested resource is forbidden. |
| InvalidAvatar | The operation failed because the avatar file is invalid. |
| InvalidEmail | The operation failed because the email address is invalid. |
| InvalidInviteToken | The operation failed because the invite token is invalid. |
| InvalidIsoCode | The operation failed because the ISO code is invalid. |
| InvalidPasswordResetToken | The operation failed because the password reset token is invalid. |
| InvalidUserName | The operation failed because the username is invalid. |
| InvalidUserType | The operation failed because the user type is invalid. |
| MediaNodeNotFound | The operation failed because the media node could not be found. |
| MediaStartNodeNotFound | The operation failed because the media start node could not be found. |
| MissingUser | The operation failed because the specified user is missing. |
| MissingUserGroup | The operation failed because the specified user group is missing. |
| NoUserGroup | The operation failed because no user group was specified. |
| NodeNotFound | The operation failed because the specified node could not be found. |
| NotInInviteState | The operation failed because the user is not in an invite state. |
| SelfOldPasswordRequired | The operation failed because the old password is required when the user is changing their own password. |
| SelfPasswordResetNotAllowed | The operation failed because users cannot reset their own password through this operation. |
| Success | The operation completed successfully. |
| Unauthorized | The operation failed because the current user is not authorized to perform this action. |
| UnknownFailure | The operation failed due to an unknown failure. |
| UserNameIsNotEmail | The operation failed because the username must be a valid email address. |
| UserNotFound | The operation failed because the user could not be found. |