View Source Appwrite.Types.Membership (appwrite v0.2.1)
Represents a user's membership in an Appwrite team.
A membership is created when a user is invited to or joins a team. It records the invitation and joining dates, the roles granted, and whether MFA is enforced for the membership.
Fields
id(String.t()): Membership ID.created_at(String.t()): Membership creation date in ISO 8601 format.updated_at(String.t()): Membership update date in ISO 8601 format.user_id(String.t()): ID of the user.user_name(String.t()): Name of the user.user_email(String.t()): Email address of the user.team_id(String.t()): ID of the team.team_name(String.t()): Name of the team.invited(String.t()): Date when the user was invited in ISO 8601 format.joined(String.t()): Date when the user accepted the invitation in ISO 8601 format.confirm(boolean()): Whether the membership invitation has been confirmed.mfa(boolean()): Whether MFA is enforced for this membership.roles([String.t()]): List of roles assigned to the user within this team.
Summary
Types
@type t() :: %Appwrite.Types.Membership{ confirm: boolean(), created_at: String.t(), id: String.t(), invited: String.t(), joined: String.t(), mfa: boolean(), roles: [String.t()], team_id: String.t(), team_name: String.t(), updated_at: String.t(), user_email: String.t(), user_id: String.t(), user_name: String.t() }