Search Results for

    Show / Hide Table of Contents
    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.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
    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
    Type Description
    string
    View Source

    TableName

    Declaration
    public const string TableName = "umbracoUserGroup2GranularPermission"
    Field Value
    Type Description
    string
    View Source

    UniqueIdColumnName

    Declaration
    public const string UniqueIdColumnName = "uniqueId"
    Field Value
    Type Description
    string

    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
    Type Description
    string
    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
    Type Description
    int
    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
    Type Description
    string
    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
    Type Description
    Guid?
    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
    Type Description
    Guid
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX