ข้ามไปยังเนื้อหา

Interface ITenantMembershipCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Exposes the merged tenant-membership set available to the active governance runtime.

public interface ITenantMembershipCatalog

Gets the effective membership set after runtime storage, host options, and module contributors have all been applied.

IReadOnlyList<TenantMembershipDescriptor> Memberships { get; }

IReadOnlyList<TenantMembershipDescriptor>

Gets memberships for one principal across all tenants.

IReadOnlyList<TenantMembershipDescriptor> GetByPrincipalId(string principalId)

principalId string

The principal identifier to resolve.

IReadOnlyList<TenantMembershipDescriptor>

The matching memberships.

Gets memberships for one principal in one tenant.

IReadOnlyList<TenantMembershipDescriptor> GetByTenantAndPrincipal(string tenantId, string principalId)

tenantId string

The tenant identifier to resolve.

principalId string

The principal identifier to resolve.

IReadOnlyList<TenantMembershipDescriptor>

The matching memberships.

Gets memberships for one tenant.

IReadOnlyList<TenantMembershipDescriptor> GetByTenantId(string tenantId)

tenantId string

The tenant identifier to resolve.

IReadOnlyList<TenantMembershipDescriptor>

The matching memberships.

GetByTenantPrincipalAndKind(string, string, string)

Section titled “ GetByTenantPrincipalAndKind(string, string, string)”

Gets memberships for one principal kind and principal identifier in one tenant.

IReadOnlyList<TenantMembershipDescriptor> GetByTenantPrincipalAndKind(string tenantId, string principalKind, string principalId)

tenantId string

The tenant identifier to resolve.

principalKind string

The principal kind to resolve.

principalId string

The principal identifier to resolve.

IReadOnlyList<TenantMembershipDescriptor>

The matching memberships.