Class UserGroupPermissionsSave
Used to assign user group permissions to a content node
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.ContentEditing
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentPermission", Namespace = "")]
public class UserGroupPermissionsSave
Constructors
View SourceUserGroupPermissionsSave()
Declaration
public UserGroupPermissionsSave()
Properties
View SourceAssignedPermissions
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>> |
ContentId
Declaration
[DataMember(Name = "contentId", IsRequired = true)]
[Required]
public int ContentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |