MicrosoftTeamsUserIdentifierModel
public struct MicrosoftTeamsUserIdentifierModel : Codable
A Microsoft Teams user.
-
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?
-
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.
-
Initialize a
MicrosoftTeamsUserIdentifierModel
structure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws
-
Encode a
MicrosoftTeamsUserIdentifierModel
structureDeclaration
Swift
public func encode(to encoder: Encoder) throws