IUser Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use IAccount instead (See https://aka.ms/msal-net-2-released)
In MSAL.NET 1.x, was representing a User. From MSAL 2.x use IAccount which represents an account (a user has several accounts). See https://aka.ms/msal-net-2-released for more details.
[System.Obsolete("Use IAccount instead (See https://aka.ms/msal-net-2-released)", true)]
public interface IUser
[<System.Obsolete("Use IAccount instead (See https://aka.ms/msal-net-2-released)", true)>]
type IUser = interface
Public Interface IUser
- Attributes
Properties
DisplayableId |
Obsolete.
In MSAL.NET 1.x was the displayable ID of a user. From MSAL 2.x use the Username of an account. See https://aka.ms/msal-net-2-released for more details |
Identifier |
Obsolete.
In MSAL.NET 1.x was an identifier for the user in the guest tenant. From MSAL.NET 2.x, use HomeAccountIdIdentifier to get the user identifier (globally unique across tenants). See https://aka.ms/msal-net-2-released for more details. |
IdentityProvider |
Obsolete.
In MSAL.NET 1.x was the URL of the identity provider (e.g. |
Name |
Obsolete.
In MSAL.NET 1.x was the name of the user (which was not very useful as the concatenation of some claims). From MSAL 2.x rather use Username. See https://aka.ms/msal-net-2-released for more details. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應