View Source
Class UserGroupPermissionsSave
Used to assign user group permissions to a content node
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "contentPermission", Namespace = "")]
public class UserGroupPermissionsSave : IValidatableObject
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 |
System.Collections.Generic.IDictionary<System.Int32, System.Collections.Generic.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 |
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> |
|