Share via


TenantProfile.Oid Property

Definition

The immutable identifier for an user account, in a specific tenant. 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. The user will have a different object ID in each tenant - they're considered different accounts, even though the user logs into each account with the same credentials.

public string Oid { get; }
member this.Oid : string
Public ReadOnly Property Oid As String

Property Value

Remarks

This claim is issued by Microsoft Identity Providers and can be null. Fallback to the sub claim, which is scoped to a user and an app.

Applies to