Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UserInformation.AccountPictureChanged | accountpicturechanged event

Applies to Windows and Windows Phone

Occurs when the user's image or name changes.

Syntax


function onAccountPictureChanged(eventArgs) { /* Your code */ }
 
// addEventListener syntax
userInformation.addEventListener("accountpicturechanged", onAccountPictureChanged);
userInformation.removeEventListener("accountpicturechanged", onAccountPictureChanged);
 
- or -

userInformation.onaccountpicturechanged = onAccountPictureChanged;


Event information

DelegateEventHandler [JavaScript] | System.EventHandler<Object> [.NET] | Windows.Foundation.EventHandler<Object> [C++]

Remarks

Use this event to monitor changes to the user's account picture.

Access to this event can be blocked by privacy settings. If access is blocked, the AccountPictureChangeEnabled property will be false.

To see how to use this event, check out our code sample.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.winmd

See also

UserInformation

 

 

Show:
© 2014 Microsoft