Show / Hide Table of Contents

Interface IPerson

Represents a person.

Inherited Members
IPersonName.FirstName
IPersonName.LastName
IUniqueIdentifier.Id
IHaveEmail.Email
IEventAggregate.RaiseEvent(IEvent)
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IPerson : IPersonName, IUniqueIdentifier, IHaveEmail, IEventAggregate

Properties

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
Guid? OrganisationId { get; set; }
Property Value
System.Nullable<System.Guid>

Methods

GetClaims(String, String)

Gets a collection of claims for this person.

Declaration
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.

Extension Methods

PersonExtensions.GetInitials(IPersonName)
PersonExtensions.GetFullName(IPerson, String)
Back to top Generated by DocFX