Share via


FolderPicker.CreateForUser(User) Method

Definition

Creates a FolderPicker that is scoped to the personal directory of the specified user. Use this method for multi-user applications.

public:
 static FolderPicker ^ CreateForUser(User ^ user);
 static FolderPicker CreateForUser(User const& user);
public static FolderPicker CreateForUser(User user);
function createForUser(user)
Public Shared Function CreateForUser (user As User) As FolderPicker

Parameters

user
User

The user for which to create the FolderPicker.

Returns

The new FolderPicker that was created.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to

See also