Class CreateMemberRequestModel
Represents a model for the data required to create a new member.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.ViewModels.Member
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class CreateMemberRequestModel : CreateContentRequestModelBase<MemberValueModel, MemberVariantRequestModel>
Constructors
View SourceCreateMemberRequestModel()
Declaration
public CreateMemberRequestModel()
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 whether the member is approved.
Declaration
public bool IsApproved { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MemberType
Gets or sets a reference to the member type to which the new member will belong.
Declaration
public required ReferenceByIdModel MemberType { get; set; }
Property Value
| Type | Description |
|---|---|
| ReferenceByIdModel |
Password
Gets or sets the password for the member being created.
Declaration
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Username
Gets or sets the username for the member.
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |