docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UserProfile

    The profile featured as the trigger avatar and the menu header of a UserSwitcher.

    Inheritance
    object
    UserProfile
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public class UserProfile

    Fields

    caption

    A secondary line under the email, typically the current organization.

    Declaration
    public string caption
    Field Value
    Type Description
    string

    color

    Their identity colour, backing the initials.

    Declaration
    public Optional<Color> color
    Field Value
    Type Description
    Optional<Color>

    email

    Their email address.

    Declaration
    public string email
    Field Value
    Type Description
    string

    name

    The signed-in person's display name.

    Declaration
    public string name
    Field Value
    Type Description
    string

    portrait

    Their profile image. Falls back to the initials when unset.

    Declaration
    public Background portrait
    Field Value
    Type Description
    Background
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)