IUser.Name Property
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.Username instead (See https://aka.ms/msal-net-2-released)
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.
[System.Obsolete("Use IAccount.Username instead (See https://aka.ms/msal-net-2-released)", true)]
public string Name { get; }
[<System.Obsolete("Use IAccount.Username instead (See https://aka.ms/msal-net-2-released)", true)>]
member this.Name : string
Public ReadOnly Property Name As String
Property Value
- Attributes
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по