MicrosoftTeamsUserIdentifier

@objcMembers
public class MicrosoftTeamsUserIdentifier : NSObject, CommunicationIdentifier

Communication identifier for Microsoft Teams Users

  • Undocumented

    Declaration

    Swift

    public let userId: String
  • Undocumented

    Declaration

    Swift

    public let isAnonymous: Bool
  • Undocumented

    Declaration

    Swift

    public private(set) var rawId: String { get }
  • Undocumented

    Declaration

    Swift

    public var kind: IdentifierKind { get }
  • Undocumented

    Declaration

    Swift

    public let cloudEnviroment: CommunicationCloudEnvironment
  • Undocumented

    Declaration

    Swift

    public let cloudEnvironment: CommunicationCloudEnvironment
  • Creates a MicrosoftTeamsUserIdentifier object

    Declaration

    Swift

    public init(
        userId: String,
        isAnonymous: Bool = false,
        rawId: String? = nil,
        cloudEnvironment: CommunicationCloudEnvironment = .Public
    )

    Parameters

    userId

    Id of the Microsoft Teams user. If the user isn’t anonymous, the id is the AAD object id of the user.

    isAnonymous

    Set this to true if the user is anonymous: for example when joining a meeting with a share link.

    rawId

    The optional raw id of the Microsoft Teams User identifier.

    cloudEnvironment

    The cloud that the Microsoft Team user belongs to. A null value translates to the Public cloud.

  • Returns a Boolean value indicating whether two values are equal. Note: In Objective-C favor isEqual() method

    Declaration

    Swift

    public static func == (lhs: MicrosoftTeamsUserIdentifier, rhs: MicrosoftTeamsUserIdentifier) -> Bool
  • Returns a Boolean value that indicates whether the receiver is equal to another given object. This will automatically return false if object being compared to is not a MicrosoftTeamsUserIdentifier.

    Declaration

    Swift

    override public func isEqual(_ object: Any?) -> Bool