User

public struct User: Codable

Representation of a user stored in ThinCloud.

  • The e-mail address of the user.

    Declaration

    Swift

    public let email: String
  • The full name of the user.

    Declaration

    Swift

    public let name: String?
  • The active state of the user.

    Declaration

    Swift

    public let active: Bool?
  • Key-value pairs of customer specified metadata.

    Declaration

    Swift

    public let custom: [String: AnyCodable]
  • ThinCloud generated user identifier.

    Declaration

    Swift

    public let userId: String
  • Date the user was created.

    Declaration

    Swift

    public let createdAt: Date?
  • Date the user was last updated.

    Declaration

    Swift

    public let updatedAt: Date?