View Source
Class UserGroupSave
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "userGroup", Namespace = "")]
public class UserGroupSave : EntityBasic, IValidatableObject
Properties
View Source
Action
The action to perform when saving this user group
Declaration
[DataMember(Name = "action", IsRequired = true)]
[Required]
public ContentSaveAction Action { get; set; }
Property Value
View Source
Alias
Declaration
[DataMember(Name = "alias", IsRequired = true)]
[Required]
public override string Alias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
AssignedPermissions
The assigned permissions for content
Declaration
[DataMember(Name = "assignedPermissions")]
public IDictionary<int, IEnumerable<string>> AssignedPermissions { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.Int32, System.Collections.Generic.IEnumerable<System.String>> |
|
View Source
DefaultPermissions
The list of letters (permission codes) to assign as the default for the user group
Declaration
[DataMember(Name = "defaultPermissions")]
public IEnumerable<string> DefaultPermissions { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
View Source
Sections
Declaration
[DataMember(Name = "sections")]
public IEnumerable<string> Sections { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
View Source
StartContentId
Declaration
[DataMember(Name = "startContentId")]
public int? StartContentId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
StartMediaId
Declaration
[DataMember(Name = "startMediaId")]
public int? StartMediaId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
Users
Declaration
[DataMember(Name = "users")]
public IEnumerable<int> Users { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
|
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> |
|