View Source
Class UserInvite
Represents the data used to invite a user
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "user", Namespace = "")]
public class UserInvite : EntityBasic, IValidatableObject
Properties
View Source
Email
Declaration
[DataMember(Name = "email", IsRequired = true)]
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Message
Declaration
[DataMember(Name = "message")]
public string Message { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
UserGroups
Declaration
[DataMember(Name = "userGroups")]
[Required]
public IEnumerable<string> UserGroups { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
View Source
Username
Declaration
[DataMember(Name = "username")]
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 |
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> |
|