Property UserName UserName Gets the name the user signs in with, such as an email address, or null if the sign-in is not for a particular user. Declaration public string? UserName { get; } Property Value Type Description string