UserProfileChangeCollection - Get unique account name from the collection
-
29-11-2019 - |
Domanda
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?
Soluzione
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());
}
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange