MSALTenantProfile
Objective-C
@interface MSALTenantProfile : NSObject <NSCopying>
Swift
class MSALTenantProfile
The Microsoft Identity platform allows one account to be used to access resources belonging to multiple organizations (Azure Active Directory tenants). MSALTenantProfile represents information about the account record in a particular AAD tenant
-
Unique identifier for the tenant profile.
Declaration
Objective-C
@property (readonly, nullable) NSString *identifier;
Swift
var identifier: UnsafeMutablePointer<Int32>? { get }
-
Host part of the authority.
Declaration
Objective-C
@property (readonly, nullable) NSString *environment;
Swift
var environment: UnsafeMutablePointer<Int32>? { get }
-
Identifier for the directory where account is locally represented
Declaration
Objective-C
@property (readonly, nullable) NSString *tenantId;
Swift
var tenantId: UnsafeMutablePointer<Int32>? { get }
-
Indicator if this tenant profile represents account’s home tenant. If an admin deletes this account from the tenant, it prevents this account from accessing anything in any tenant with the Microsoft Identity Platform.
Declaration
Objective-C
@property (readonly) BOOL isHomeTenantProfile;
Swift
var isHomeTenantProfile: Int32 { get }
-
ID token claims for the account in the specified tenant.
Declaration
Objective-C
@property (readonly, nullable) NSDictionary<NSString *, id> *claims;