TeamsExtensionUserIdentifier
@objcMembers
public class TeamsExtensionUserIdentifier : NSObject, CommunicationIdentifier
Communication identifier for Microsoft Teams Phone user who is using a Communication Services resource to extend their Teams Phone set up.
-
The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.
Declaration
Swift
public let userId: String
-
The tenant Id of the Microsoft Teams Extension user.
Declaration
Swift
public let tenantId: String
-
The Communication Services resource Id.
Declaration
Swift
public let resourceId: String
-
Undocumented
Declaration
Swift
public private(set) var rawId: String { get }
-
Undocumented
Declaration
Swift
public var kind: IdentifierKind { get }
-
The cloud that the identifier belongs to.
Declaration
Swift
public let cloudEnvironment: CommunicationCloudEnvironment
-
Creates a TeamsExtensionUserIdentifier object
Declaration
Swift
public init( userId: String, tenantId: String, resourceId: String, rawId: String? = nil, cloudEnvironment: CommunicationCloudEnvironment = .Public )
Parameters
userId
The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.
tenantId
The tenant Id of the Microsoft Teams Extension user.
resourceId
The Communication Services resource Id
rawId
The optional raw id of the Microsoft Teams Phone user identifier.
cloudEnvironment
The cloud that the Microsoft Teams Phone 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: TeamsExtensionUserIdentifier, rhs: TeamsExtensionUserIdentifier) -> 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 TeamsExtensionUserIdentifier.
Declaration
Swift
override public func isEqual(_ object: Any?) -> Bool