MicrosoftTeamsUserIdentifierModel

public struct MicrosoftTeamsUserIdentifierModel : Codable

A Microsoft Teams user.

Properties

  • The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.

    Declaration

    Swift

    public let userId: String
  • True if the Microsoft Teams user is anonymous. By default false if missing.

    Declaration

    Swift

    public let isAnonymous: Bool?
  • The cloud that the Microsoft Teams user belongs to. By default ‘public’ if missing.

    Declaration

    Swift

    public let cloud: CommunicationCloudEnvironmentModel?

Initializers

  • Initialize a MicrosoftTeamsUserIdentifierModel structure.

    Declaration

    Swift

    public init(
        userId: String, isAnonymous: Bool? = nil, cloud: CommunicationCloudEnvironmentModel? = nil
    )

    Parameters

    userId

    The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.

    isAnonymous

    True if the Microsoft Teams user is anonymous. By default false if missing.

    cloud

    The cloud that the Microsoft Teams user belongs to. By default ‘public’ if missing.

Codable

  • Initialize a MicrosoftTeamsUserIdentifierModel structure from decoder

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encode a MicrosoftTeamsUserIdentifierModel structure

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws