UserProfileChangeCollection - Get unique account name from the collection
-
29-11-2019 - |
سؤال
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?
المحلول
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());
}
لا تنتمي إلى sharepoint.stackexchange