View Source
Class UserGroupSave
Inheritance
System.Object
Assembly: Umbraco.Core.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
AllowedLanguages
The ids of allowed languages
Declaration
[DataMember(Name = "allowedLanguages")]
public IEnumerable<int>? AllowedLanguages { get; set; }
Property Value
Type |
Description |
System.Nullable<IEnumerable<System.Int32>> |
|
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.Nullable<IDictionary<System.Int32, 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.Nullable<IEnumerable<System.String>> |
|
View Source
HasAccessToAllLanguages
Declaration
[DataMember(Name = "hasAccessToAllLanguages")]
public bool HasAccessToAllLanguages { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
PersistedUserGroup
The real persisted user group
Declaration
[IgnoreDataMember]
public IUserGroup PersistedUserGroup { get; set; }
Property Value
View Source
Sections
Declaration
[DataMember(Name = "sections")]
public IEnumerable<string>? Sections { get; set; }
Property Value
Type |
Description |
System.Nullable<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.Nullable<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 |
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> |
|