Share via


AccountPickerOptions2 Class

Definition

Represents the options used to create an account picker that works with the identity service.

public ref class AccountPickerOptions2 : Microsoft::VisualStudio::Shell::AccountPickerOptions
public class AccountPickerOptions2 : Microsoft.VisualStudio.Shell.AccountPickerOptions
type AccountPickerOptions2 = class
    inherit AccountPickerOptions
Public Class AccountPickerOptions2
Inherits AccountPickerOptions
Inheritance
AccountPickerOptions2

Constructors

AccountPickerOptions2(IntPtr, String)

Initializes a new instance of the options used to create an account picker.

AccountPickerOptions2(Window, String)

Initializes a new instance of the options used to create an account picker.

Properties

AddProviderFilter

Gets or sets the picker's custom filter to determine which account providers are allowed to show accounts and be visible in the add account picker dialog. The Guid will be the AccountProvider identifier guid. The object will be the account configuration. For AAD based accounts this will be an IAadConfiguration. This object may be null. True should be returned if the account provider should be available, False otherwise.

CustomFilter

Gets or sets the picker's custom filter to determine accounts being displayed. Setting this will disable add new capability.

(Inherited from AccountPickerOptions)
HostId

Gets a unique identifier for this host, usually the package guid, that will be used when reporting telemetry.

(Inherited from AccountPickerOptions)
IsAuthenticationStateUIEnabled

Gets or sets the value that determines if the picker will show UI to allow the user to reenter credentials if the SelectedAccount needs re-authentication. This property is true by default.

(Inherited from AccountPickerOptions)
IsCompactHeight

Gets or sets the value that determines if the picker will be displayed in smaller height compared to the default height.

(Inherited from AccountPickerOptions)
ParentWindow

Gets the window hosting the account picker.

(Inherited from AccountPickerOptions)
ParentWindowHandle

Gets the parent window object.

(Inherited from AccountPickerOptions)
UseWindowsPresentationFoundationStyle

Gets or sets the value that determines if the picker will use styles based on Windows Presentation Framework.

(Inherited from AccountPickerOptions)

Applies to