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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈