Show / Hide Table of Contents

Class ListIdentityUser

Represents a combination of an user and person in the identity system, ued when listing or searching for users.

Inheritance
Object
ListIdentityUser
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
public class ListIdentityUser : IListUser, IPerson, IPersonName, IEventAggregate, IUserIdentifiers, IUniqueIdentifier, IHaveEmail

Properties

Email

Gets or sets the entity's email.

Declaration
public string Email { get; set; }
Property Value
String

Implements
IHaveEmail.Email

FirstName

Gets or sets the persons first name.

Declaration
public string FirstName { get; set; }
Property Value
String

Implements
IPersonName.FirstName

Id

Gets the identity of the object implementing this interface.

Declaration
public Guid Id { get; set; }
Property Value
System.Guid

Implements
IUniqueIdentifier.Id

IsLockedOut

Gets or sets a flag indicating if the user is locked out or not.

Declaration
public bool IsLockedOut { get; set; }
Property Value
Boolean

True if the user is locked out, otherwise false.

Implements
IListUser.IsLockedOut

IsSystemUser

Gets or sets if the user is a system or not.

Declaration
public bool IsSystemUser { get; set; }
Property Value
Boolean

true if the user is a system; false if the user is human.

Implements
IUserIdentifiers.IsSystemUser

IsValid

Gets if the user is valid to sign-in.

Declaration
public bool IsValid { get; set; }
Property Value
Boolean

True if the user is valid to sign-in; otherwise false.

Implements
IListUser.IsValid

LastName

Gets or sets the persons last name.

Declaration
public string LastName { get; set; }
Property Value
String

Implements
IPersonName.LastName

Name

Gets or sets the persons name.

Declaration
public string Name { get; }
Property Value
String

OrganisationId

Gets or sets the identity of the organisation that the user belongs to. Can be the same as the tenant id, but it could also be a child organisation.

Declaration
public Guid? OrganisationId { get; set; }
Property Value
System.Nullable<System.Guid>

Implements
IPerson.OrganisationId

OrganisationName

Gets or sets the name of the organisation (if the person belongs to one)

Declaration
public string OrganisationName { get; set; }
Property Value
String

Implements
IListUser.OrganisationName

UserName

Gets or sets the user name for this user.

Declaration
public string UserName { get; set; }
Property Value
String

Implements
IUserIdentifiers.UserName

Methods

GetClaims(String, String)

Gets a collection of claims for this person.

Declaration
public IEnumerable<Claim> GetClaims(string nameClaimType = "name", string unknownName = "Okänt")
Parameters
String nameClaimType

The type of claim to use for the person name.

String unknownName

The value for unkonw name, ie used when a fake person is created.

Returns
IEnumerable<System.Security.Claims.Claim>

A collection of claims.

Implements
IPerson.GetClaims(String, String)

Explicit Interface Implementations

IEventAggregate.RaiseEvent(IEvent)

Declaration
void IEventAggregate.RaiseEvent(IEvent event)
Parameters
IEvent event

Implements
IEventAggregate.RaiseEvent(IEvent)
Back to top Generated by DocFX