UserInformation.AccountPictureChanged | accountpicturechanged event

This topic has not yet been rated - Rate this topic

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

Delegate EventHandler(Object)

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

Namespace

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

Metadata

Windows.winmd

See also

UserInformation

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.