User.FindAllAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| FindAllAsync() |
모든 사용자를 비동기적으로 찾습니다. |
| FindAllAsync(UserType) |
지정된 형식의 모든 사용자를 비동기적으로 찾습니다. |
| FindAllAsync(UserType, UserAuthenticationStatus) |
지정된 형식 및 인증 상태의 모든 사용자를 비동기적으로 찾습니다. |
FindAllAsync()
모든 사용자를 비동기적으로 찾습니다.
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))
반품
이 메서드가 성공적으로 완료되면
- 특성
설명
이 메서드는 현재 호출 애플리케이션과 동일한 세션에 로그인한 사용자를 반환합니다. 디바이스에 저장된 모든 계정을 열거하지는 않습니다.
현재 프로세스를 직접 실행하는 사용자를 얻으려면 GetDefault(Windows 10 버전 2104에서 사용 가능)를 사용합니다.
참고 항목
적용 대상
FindAllAsync(UserType)
지정된 형식의 모든 사용자를 비동기적으로 찾습니다.
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))
매개 변수
- type
- UserType
찾을 사용자의 유형입니다.
반품
이 메서드가 성공적으로 완료되면
- 특성
설명
이 메서드는 현재 호출 애플리케이션과 동일한 세션에 로그인한 사용자를 반환합니다. 디바이스에 저장된 모든 계정을 열거하지는 않습니다.
현재 프로세스를 직접 실행하는 사용자를 얻으려면 GetDefault(Windows 10 버전 2104에서 사용 가능)를 사용합니다.
참고 항목
적용 대상
FindAllAsync(UserType, UserAuthenticationStatus)
지정된 형식 및 인증 상태의 모든 사용자를 비동기적으로 찾습니다.
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))
매개 변수
- type
- UserType
찾을 사용자의 유형입니다.
- status
- UserAuthenticationStatus
찾을 사용자의 인증 상태입니다.
반품
이 메서드가 성공적으로 완료되면
- 특성
설명
Warning
이 오버로드는 더 이상 사용되지 않습니다. 대신 FindAllAsync 또는 GetDefault를 사용합니다.
이 메서드는 현재 호출 애플리케이션과 동일한 세션에 로그인한 사용자를 반환합니다. 디바이스에 저장된 모든 계정을 열거하지는 않습니다.
현재 프로세스를 직접 실행하는 사용자를 얻으려면 GetDefault(Windows 10 버전 2104에서 사용 가능)를 사용합니다.