Class UserProfile
The profile featured as the trigger avatar and the menu header of a UserSwitcher.
Inherited Members
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> |
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 |