Interface ITeamMember
public interface ITeamMember
Properties
AccessLevel
AccessLevel AccessLevel { get; }
Property Value
Invitation
Invitation Invitation { get; }
Property Value
Key
string Key { get; }
Property Value
LastSeen
DateTime? LastSeen { get; }
Property Value
Name
string Name { get; }
Property Value
ScopeOverrides
string[] ScopeOverrides { get; }
Property Value
- string[]
State
MembershipState? State { get; }
Property Value
SuspendedAt
When this member's access to the team was suspended, or null if it is active. A suspended member keeps their membership, access level, roles and history, and still sees the team in the selector — they are granted no team scopes, so every scoped operation refuses.
DateTime? SuspendedAt { get; }
Property Value
Remarks
Opt-in by shape, like DisabledAt: declare the property on the member entity to
persist it, and override TeamServiceBase.SetTeamMemberSuspendedAsync.
Deliberately not a fourth MembershipState. Host stores list a user's teams by
filtering State == MembershipState.Member, so a suspended state would remove the team from
the selector entirely — the opposite of the intent, and unfixable from inside the toolkit because
that filter lives in host code. Keeping State at Member
means every existing query keeps working untouched.
SuspendedBy
Who suspended this member, or null.
string SuspendedBy { get; }
Property Value
TenantRoles
string[] TenantRoles { get; }
Property Value
- string[]