View Source
Class UserGroupPermissionsSave
Used to assign user group permissions to a content node
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentPermission", Namespace = "")]
public class UserGroupPermissionsSave
Constructors
View Source
UserGroupPermissionsSave()
Declaration
public UserGroupPermissionsSave()
Properties
View Source
AssignedPermissions
A dictionary of permissions to assign, the key is the user group id
Declaration
[DataMember(Name = "permissions")]
public IDictionary<int, IEnumerable<string>> AssignedPermissions { get; set; }
Property Value
Type |
Description |
IDictionary<System.Int32, IEnumerable<System.String>> |
|
View Source
ContentId
Declaration
[DataMember(Name = "contentId", IsRequired = true)]
[Required]
public int ContentId { get; set; }
Property Value
Type |
Description |
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> |
|