UserProfileChangeCollection - Get unique account name from the collection
-
29-11-2019 - |
Question
i have UserProfileChangeCollection collection with all the changes for the uses made in user profile. Can i get the unique user [i.e. Account name property of user profile] from the collection?
La solution
Take a look at MSDN:
- How to: Get Recent User Profile Changes Using the Change Log
- UserProfileChange Members - UserProfileChange.AccountName Property
This code should work (I didn't tested it!):
UserProfileChangeCollection changes = ...... ;
foreach (UserProfileChange change in changes)
{
Console.WriteLine(change.AccountName.ToString());
}
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange