Class UpdateMemberRequestModel
Represents the model used to update a member's information.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.ViewModels.Member
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class UpdateMemberRequestModel : UpdateContentRequestModelBase<MemberValueModel, MemberVariantRequestModel>
Constructors
View SourceUpdateMemberRequestModel()
Declaration
public UpdateMemberRequestModel()
Properties
View SourceGets or sets the email address of the member.
Declaration
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Groups
Gets or sets the collection of group IDs associated with the member.
Declaration
public IEnumerable<Guid>? Groups { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<Guid> |
IsApproved
Gets or sets a value indicating if the member is approved.
Declaration
public bool IsApproved { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsLockedOut
Gets or sets a value indicating whether the member is locked out.
Declaration
public bool IsLockedOut { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsTwoFactorEnabled
Gets or sets a value indicating whether two-factor authentication is enabled for the member.
Declaration
public bool IsTwoFactorEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NewPassword
Gets or sets the new password to assign to the member during an update operation.
Declaration
public string? NewPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OldPassword
Gets or sets the previous password of the member, used for validating password changes.
Declaration
public string? OldPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Username
Gets or sets the username associated with the member account.
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |