Table of Contents

ITenantCatalog.FindTenantByIdentifier Method

Returns the tenant associated with an external identifier, such as an API client id, a custom domain or a user id.

Syntax

Unit: Aurelius.Tenancy.Catalog

function ITenantCatalog.FindTenantByIdentifier(const Name: string; const Value: string): TTenantInfo; virtual; abstract;

Parameters

<-> Parameter Type Description
const Name string The identifier name (for example, 'client_id').
const Value string The identifier value.

Returns

The tenant registered for the identifier through SaveIdentifier, or an empty record if the identifier is unknown.

See also