In my provider-hosted app I load the UserCollection from SharePoint by CSOM (Client Side Object Model), like this:
UserCollection users = web.SiteUsers; clientContext.Load<UserCollection>(users); clientContext.ExecuteQuery();
But I only want "normal" users to be displayed in my app. The result given here also shows users which seem to be system users, like:
- System Account
- Everyone except external users
How can I determine if a user is a normal site user or a system user?
I checked the groups but most of the system users don't have any groups. Also the email is mostly empty but not always.