Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserInvite

    Represents the data used to invite a user

    Inheritance
    System.Object
    EntityBasic
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.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
    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
    IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Email
      • Message
      • UserGroups
      • Username
    • Methods
      • Validate(ValidationContext)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX