SPWeb.AllUsers property

Gets the collection of user objects that represents all users who are either members of the site or who have browsed to the site as authenticated members of a domain group in the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPUserCollection AllUsers { get; }

Property value

Type: Microsoft.SharePoint.SPUserCollection
An SPUserCollection object that represents the users.