MSALAccountId

Objective-C

@interface MSALAccountId : NSObject <NSCopying>

Swift

class MSALAccountId : NSObject, NSCopying

Account identifier in the Azure Active Directory (AAD).

  • Unique MSAL account identifier

    Note

    This is a non-displayable identifier and its format is not guaranteed. You should not make any assumptions about components or format of this identifier.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *identifier;

    Swift

    var identifier: String { get }
  • Object id of the account in the tenant. Object id is the immutable identifier for an object in the Microsoft identity system, in this case, a user account. This ID uniquely identifies the user across applications - two different applications signing in the same user will receive the same value in the oid claim.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *objectId;

    Swift

    var objectId: String? { get }
  • An identifier for the AAD tenant that the account was acquired from

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *tenantId;

    Swift

    var tenantId: String? { get }