Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserGroup2PermissionDto

    Represents a mapping between a user group and a permission in the database. This DTO is used to associate user groups with their assigned permissions.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UserGroup2PermissionDto

    Constructors

    View Source

    UserGroup2PermissionDto()

    Declaration
    public UserGroup2PermissionDto()

    Fields

    View Source

    PrimaryKeyColumnName

    Declaration
    public const string PrimaryKeyColumnName = "id"
    Field Value
    Type Description
    string
    View Source

    TableName

    Declaration
    public const string TableName = "umbracoUserGroup2Permission"
    Field Value
    Type Description
    string

    Properties

    View Source

    Id

    Gets or sets the unique primary key identifier for this user group to permission mapping.

    Declaration
    [PrimaryKeyColumn(Name = "PK_userGroup2Permission", AutoIncrement = true)]
    public int Id { get; set; }
    Property Value
    Type Description
    int
    View Source

    Permission

    Gets or sets the permission code assigned to the user group. This typically represents a specific action or access right.

    Declaration
    [Length(255)]
    public required string Permission { get; set; }
    Property Value
    Type Description
    string
    View Source

    UserGroupKey

    Gets or sets the key of the user group associated with this permission.

    Declaration
    [Index(IndexTypes.NonClustered, IncludeColumns = "permission")]
    [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