Class UserCreateModel
Represents the model used for creating a new user.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class UserCreateModel
Constructors
View SourceUserCreateModel()
Declaration
public UserCreateModel()
Properties
View SourceGets or sets the email address of the user.
Declaration
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or sets the optional unique identifier for the user.
Declaration
public Guid? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? | The user's GUID, or |
Kind
Gets or sets the kind/type of user being created.
Declaration
public UserKind Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| UserKind |
Name
Gets or sets the display name of the user.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserGroupKeys
Gets or sets the collection of user group keys the user should be assigned to.
Declaration
public ISet<Guid> UserGroupKeys { get; set; }
Property Value
| Type | Description |
|---|---|
| ISet<Guid> |
UserName
Gets or sets the username for the user.
Declaration
public string UserName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |