View Source
Class UserSave
Represents the data used to persist a user
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "user", Namespace = "")]
public class UserSave : EntityBasic, IValidatableObject
Properties
View Source
ChangePassword
Declaration
[DataMember(Name = "changePassword", IsRequired = true)]
public ChangingPasswordModel ChangePassword { get; set; }
Property Value
View Source
Culture
Declaration
[DataMember(Name = "culture", IsRequired = true)]
[Required]
public string Culture { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Email
Declaration
[DataMember(Name = "email", IsRequired = true)]
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Id
Declaration
[DataMember(Name = "id", IsRequired = true)]
[Required]
public int Id { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
StartContentIds
Declaration
[DataMember(Name = "startContentIds")]
public int[] StartContentIds { get; set; }
Property Value
Type |
Description |
System.Int32[] |
|
View Source
StartMediaIds
Declaration
[DataMember(Name = "startMediaIds")]
public int[] StartMediaIds { get; set; }
Property Value
Type |
Description |
System.Int32[] |
|
View Source
UserGroups
Declaration
[DataMember(Name = "userGroups")]
[Required]
public IEnumerable<string> UserGroups { get; set; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
View Source
Username
Declaration
[DataMember(Name = "username", IsRequired = true)]
[Required]
public string Username { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
Validate(ValidationContext)
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type |
Name |
Description |
System.ComponentModel.DataAnnotations.ValidationContext |
validationContext |
|
Returns
Type |
Description |
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> |
|