View Source
Class UserGroup2GranularPermissionDto
Represents an association between a user group and its assigned granular permissions.
This DTO is used to map specific permissions to user groups within the system.
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UserGroup2GranularPermissionDto
Constructors
View Source
UserGroup2GranularPermissionDto()
Declaration
public UserGroup2GranularPermissionDto()
Fields
View Source
PrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
View Source
TableName
Declaration
public const string TableName = "umbracoUserGroup2GranularPermission"
Field Value
View Source
UniqueIdColumnName
Declaration
public const string UniqueIdColumnName = "uniqueId"
Field Value
Properties
View Source
Context
Gets or sets the context in which the granular permission applies for the user group.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
public required string Context { get; set; }
Property Value
View Source
Id
Gets or sets the primary key identifier for this user group to granular permission mapping.
Declaration
[PrimaryKeyColumn(Name = "PK_umbracoUserGroup2GranularPermissionDto", AutoIncrement = true)]
public int Id { get; set; }
Property Value
View Source
Permission
Gets or sets the granular permission assigned to the user group.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
public required string Permission { get; set; }
Property Value
View Source
UniqueId
Gets or sets the unique identifier (GUID) for the associated user group granular permission.
Declaration
[ForeignKey(typeof(NodeDto), Column = "uniqueId")]
[NullSetting(NullSetting = NullSettings.Null)]
[Index(IndexTypes.NonClustered, Name = "IX_umbracoUserGroup2GranularPermissionDto_UniqueId")]
public Guid? UniqueId { get; set; }
Property Value
View Source
UserGroupKey
Gets or sets the key of the user group.
Declaration
[Index(IndexTypes.NonClustered, Name = "IX_umbracoUserGroup2GranularPermissionDto_UserGroupKey_UniqueId", IncludeColumns = "uniqueId")]
[ForeignKey(typeof(UserGroupDto), Column = "key")]
public Guid UserGroupKey { get; set; }
Property Value