Class UpdateMemberProfileResult
Represents the result of a member profile update operation.
Inheritance
object
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public class UpdateMemberProfileResult
Properties
View SourceErrorMessage
Gets the error message if the operation failed.
Declaration
public string? ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Gets the status of the update operation.
Declaration
public UpdateMemberProfileStatus Status { get; }
Property Value
| Type | Description |
|---|---|
| UpdateMemberProfileStatus |
Methods
View SourceError(string)
Creates an error result with the specified message.
Declaration
public static UpdateMemberProfileResult Error(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message describing the failure. |
Returns
| Type | Description |
|---|---|
| UpdateMemberProfileResult | A new UpdateMemberProfileResult indicating an error. |
Success()
Creates a successful result.
Declaration
public static UpdateMemberProfileResult Success()
Returns
| Type | Description |
|---|---|
| UpdateMemberProfileResult | A new UpdateMemberProfileResult indicating success. |