User.FindAllAsync Metodo

Definizione

Overload

Nome Descrizione
FindAllAsync()

Trova tutti gli utenti in modo asincrono.

FindAllAsync(UserType)

Trova tutti gli utenti di un determinato tipo in modo asincrono.

FindAllAsync(UserType, UserAuthenticationStatus)

Trova tutti gli utenti di un determinato tipo e lo stato di autenticazione in modo asincrono.

FindAllAsync()

Trova tutti gli utenti in modo asincrono.

public:
 static IAsyncOperation<IVectorView<User ^> ^> ^ FindAllAsync();
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("FindAllAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<User>> FindAllAsync();
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("FindAllAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync();
function findAllAsync()
Public Shared Function FindAllAsync () As IAsyncOperation(Of IReadOnlyList(Of User))

Valori restituiti

Al termine di questo metodo, restituisce un elenco (tipo IVectorView) di Users.

Attributi

Commenti

Questo metodo restituisce gli utenti che hanno eseguito l'accesso alla stessa sessione dell'applicazione chiamante. Non enumera tutti gli account archiviati nel dispositivo.

Per ottenere l'utente che esegue direttamente il processo corrente, usare GetDefault (disponibile da Windows 10 versione 2104).

Vedi anche

Si applica a

FindAllAsync(UserType)

Trova tutti gli utenti di un determinato tipo in modo asincrono.

public:
 static IAsyncOperation<IVectorView<User ^> ^> ^ FindAllAsync(UserType type);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type);
function findAllAsync(type)
Public Shared Function FindAllAsync (type As UserType) As IAsyncOperation(Of IReadOnlyList(Of User))

Parametri

type
UserType

Tipo di utenti da trovare.

Valori restituiti

Al termine di questo metodo, restituisce un elenco (tipo IVectorView) di Users.

Attributi

Commenti

Questo metodo restituisce gli utenti che hanno eseguito l'accesso alla stessa sessione dell'applicazione chiamante. Non enumera tutti gli account archiviati nel dispositivo.

Per ottenere l'utente che esegue direttamente il processo corrente, usare GetDefault (disponibile da Windows 10 versione 2104).

Vedi anche

Si applica a

FindAllAsync(UserType, UserAuthenticationStatus)

Trova tutti gli utenti di un determinato tipo e lo stato di autenticazione in modo asincrono.

public:
 static IAsyncOperation<IVectorView<User ^> ^> ^ FindAllAsync(UserType type, UserAuthenticationStatus status);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type, UserAuthenticationStatus const& status);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type, UserAuthenticationStatus const& status);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type, UserAuthenticationStatus status);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type, UserAuthenticationStatus status);
function findAllAsync(type, status)
Public Shared Function FindAllAsync (type As UserType, status As UserAuthenticationStatus) As IAsyncOperation(Of IReadOnlyList(Of User))

Parametri

type
UserType

Tipo di utenti da trovare.

status
UserAuthenticationStatus

Stato di autenticazione degli utenti da trovare.

Valori restituiti

Al termine di questo metodo, restituisce un elenco (tipo IVectorView) di Users.

Attributi

Commenti

Avvertimento

Questo overload è deprecato. Usare invece FindAllAsync o GetDefault .

Questo metodo restituisce gli utenti che hanno eseguito l'accesso alla stessa sessione dell'applicazione chiamante. Non enumera tutti gli account archiviati nel dispositivo.

Per ottenere l'utente che esegue direttamente il processo corrente, usare GetDefault (disponibile da Windows 10 versione 2104).

Vedi anche

Si applica a