Class User2UserGroupDto
Represents a data transfer object (DTO) that defines the association between a user and a user group in the persistence layer. Typically used to map user-to-group relationships in the database.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class User2UserGroupDto
Constructors
View SourceUser2UserGroupDto()
Declaration
public User2UserGroupDto()
Fields
View SourceTableName
Declaration
public const string TableName = "umbracoUser2UserGroup"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceUserGroupId
Gets or sets the identifier of the user group.
Declaration
[ForeignKey(typeof(UserGroupDto))]
public int UserGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UserId
Gets or sets the identifier of the user associated with this user-to-user group relationship.
Declaration
[PrimaryKeyColumn(AutoIncrement = false, Name = "PK_user2userGroup", OnColumns = "userId, userGroupId")]
[ForeignKey(typeof(UserDto))]
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |