Table of Contents

Class UserRepresentation

Namespace
Keycloak.AuthServices.Sdk.Admin.Models
Assembly
Keycloak.AuthServices.Sdk.dll
public class UserRepresentation
Inheritance
UserRepresentation
Inherited Members

Properties

Access

[JsonPropertyName("access")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public IDictionary<string, bool>? Access { get; set; }

Property Value

IDictionary<string, bool>

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

ApplicationRoles

[JsonPropertyName("applicationRoles")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[Obsolete]
public IDictionary<string, ICollection<string>>? ApplicationRoles { get; set; }

Property Value

IDictionary<string, ICollection<string>>

Attributes

[JsonPropertyName("attributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public IDictionary<string, ICollection<string>>? Attributes { get; set; }

Property Value

IDictionary<string, ICollection<string>>

ClientConsents

[JsonPropertyName("clientConsents")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<UserConsentRepresentation>? ClientConsents { get; set; }

Property Value

ICollection<UserConsentRepresentation>

ClientRoles

[JsonPropertyName("clientRoles")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public IDictionary<string, ICollection<string>>? ClientRoles { get; set; }

Property Value

IDictionary<string, ICollection<string>>

CreatedTimestamp

[JsonPropertyName("createdTimestamp")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? CreatedTimestamp { get; set; }

Property Value

long?

Credentials

[JsonPropertyName("credentials")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<CredentialRepresentation>? Credentials { get; set; }

Property Value

ICollection<CredentialRepresentation>

DisableableCredentialTypes

[JsonPropertyName("disableableCredentialTypes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? DisableableCredentialTypes { get; set; }

Property Value

ICollection<string>

Email

[JsonPropertyName("email")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Email { get; set; }

Property Value

string

EmailVerified

[JsonPropertyName("emailVerified")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? EmailVerified { get; set; }

Property Value

bool?

Enabled

[JsonPropertyName("enabled")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Enabled { get; set; }

Property Value

bool?

FederatedIdentities

[JsonPropertyName("federatedIdentities")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<FederatedIdentityRepresentation>? FederatedIdentities { get; set; }

Property Value

ICollection<FederatedIdentityRepresentation>
[JsonPropertyName("federationLink")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FederationLink { get; set; }

Property Value

string

FirstName

[JsonPropertyName("firstName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FirstName { get; set; }

Property Value

string

Groups

[JsonPropertyName("groups")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? Groups { get; set; }

Property Value

ICollection<string>

Id

[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Id { get; set; }

Property Value

string

LastName

[JsonPropertyName("lastName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? LastName { get; set; }

Property Value

string

NotBefore

[JsonPropertyName("notBefore")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int? NotBefore { get; set; }

Property Value

int?

Origin

[JsonPropertyName("origin")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Origin { get; set; }

Property Value

string

RealmRoles

[JsonPropertyName("realmRoles")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? RealmRoles { get; set; }

Property Value

ICollection<string>

RequiredActions

[JsonPropertyName("requiredActions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ICollection<string>? RequiredActions { get; set; }

Property Value

ICollection<string>

Self

[JsonPropertyName("self")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Self { get; set; }

Property Value

string

ServiceAccountClientId

[JsonPropertyName("serviceAccountClientId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ServiceAccountClientId { get; set; }

Property Value

string
[JsonPropertyName("socialLinks")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[Obsolete]
public ICollection<SocialLinkRepresentation>? SocialLinks { get; set; }

Property Value

ICollection<SocialLinkRepresentation>

Totp

[JsonPropertyName("totp")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Totp { get; set; }

Property Value

bool?

UserProfileMetadata

[JsonPropertyName("userProfileMetadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public UserProfileMetadata? UserProfileMetadata { get; set; }

Property Value

UserProfileMetadata

Username

[JsonPropertyName("username")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Username { get; set; }

Property Value

string