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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기