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

Class TenantInvitationDescriptor

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

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

Describes one invitation to join or access a tenant.

public sealed class TenantInvitationDescriptor

objectTenantInvitationDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

TenantInvitationDescriptor(string, string, string, string?, string?, IReadOnlyList<string>?, string, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ TenantInvitationDescriptor(string, string, string, string?, string?, IReadOnlyList<string>?, string, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)”

Creates a new tenant-invitation descriptor.

public TenantInvitationDescriptor(string invitationId, string tenantId, string inviteeId, string? inviteeKind = null, string? displayName = null, IReadOnlyList<string>? roles = null, string status = "pending", DateTimeOffset? createdAtUtc = null, DateTimeOffset? expiresAtUtc = null, string? sourceModuleId = null, IReadOnlyDictionary<string, string>? metadata = null)

invitationId string

The stable invitation identifier within the tenant.

tenantId string

The stable tenant identifier.

inviteeId string

The stable invitee identifier.

inviteeKind string?

The invitee kind, such as user, group, service, or organization.

displayName string?

The optional operator-facing invitation name.

roles IReadOnlyList<string>?

The tenant-local roles proposed by the invitation.

status string

The invitation status.

createdAtUtc DateTimeOffset?

The UTC timestamp when the invitation was created.

expiresAtUtc DateTimeOffset?

The UTC timestamp when the invitation expires.

sourceModuleId string?

The module that contributed the invitation when one is known.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata attached to the invitation.

Gets the UTC timestamp when the invitation was created.

public DateTimeOffset? CreatedAtUtc { get; }

DateTimeOffset?

Gets the optional operator-facing invitation name.

public string? DisplayName { get; }

string?

Gets the UTC timestamp when the invitation expires.

public DateTimeOffset? ExpiresAtUtc { get; }

DateTimeOffset?

Gets the stable invitation identifier within the tenant.

public string InvitationId { get; }

string

Gets the stable invitee identifier.

public string InviteeId { get; }

string

Gets the invitee kind, such as user, group, service, or organization.

public string InviteeKind { get; }

string

Gets optional operator-facing metadata attached to the invitation.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the tenant-local roles proposed by the invitation.

public IReadOnlyList<string> Roles { get; }

IReadOnlyList<string>

Gets the module that contributed the invitation when one is known.

public string? SourceModuleId { get; }

string?

Gets the invitation status.

public string Status { get; }

string

Gets the stable tenant identifier.

public string TenantId { get; }

string