Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserGroupSave

    Inheritance
    System.Object
    EntityBasic
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserGroupSave : EntityBasic

    Properties

    View Source

    Action

    The action to perform when saving this user group

    Declaration
    public ContentSaveAction Action { get; set; }
    Property Value
    Type Description
    ContentSaveAction
    Remarks

    If either of the Publish actions are specified an exception will be thrown.

    View Source

    Alias

    Declaration
    public override string Alias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    AssignedPermissions

    The assigned permissions for content

    Declaration
    public IDictionary<int, IEnumerable<string>> AssignedPermissions { get; set; }
    Property Value
    Type Description
    IDictionary<System.Int32, IEnumerable<System.String>>
    Remarks

    The key is the content id and the list is the list of letters (permission codes) to assign

    View Source

    DefaultPermissions

    The list of letters (permission codes) to assign as the default for the user group

    Declaration
    public IEnumerable<string> DefaultPermissions { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>
    View Source

    PersistedUserGroup

    The real persisted user group

    Declaration
    public IUserGroup PersistedUserGroup { get; set; }
    Property Value
    Type Description
    IUserGroup
    View Source

    Sections

    Declaration
    public IEnumerable<string> Sections { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>
    View Source

    StartContentId

    Declaration
    public int? StartContentId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    View Source

    StartMediaId

    Declaration
    public int? StartMediaId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    View Source

    Users

    Declaration
    public IEnumerable<int> Users { get; set; }
    Property Value
    Type Description
    IEnumerable<System.Int32>

    Methods

    View Source

    Validate(ValidationContext)

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext
    Returns
    Type Description
    IEnumerable<ValidationResult>
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Action
      • Alias
      • AssignedPermissions
      • DefaultPermissions
      • PersistedUserGroup
      • Sections
      • StartContentId
      • StartMediaId
      • Users
    • Methods
      • Validate(ValidationContext)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX