Class User2ClientIdDto
Represents a data transfer object that maps a user to a client identifier in the system.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class User2ClientIdDto
Constructors
View SourceUser2ClientIdDto()
Declaration
public User2ClientIdDto()
Fields
View SourceTableName
Declaration
public const string TableName = "umbracoUser2ClientId"
Field Value
| Type | Description |
|---|---|
| string |
UserIdColumnName
Declaration
public const string UserIdColumnName = "userId"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceClientId
Gets or sets the identifier of the client associated with the user.
Declaration
[Length(255)]
public string? ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
Gets or sets the unique identifier of the associated user.
Declaration
[PrimaryKeyColumn(AutoIncrement = false, Name = "PK_umbracoUser2ClientId", OnColumns = "userId, clientId")]
[ForeignKey(typeof(UserDto))]
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |