User.CreateWatcher User.CreateWatcher User.CreateWatcher User.CreateWatcher User.CreateWatcher Method

Definition

Creates a UserWatcher which enumerates users and raises events when the collection of users changes or when a user’s authentication state changes.

public : static UserWatcher CreateWatcher()
static UserWatcher CreateWatcher() const;
public static UserWatcher CreateWatcher()
Public Shared Function CreateWatcher() As UserWatcher
var userWatcher = Windows.System.User.createWatcher();

Returns

A UserWatcher which enumerates users and raises events when the collection of users changes.

See also