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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property AllUsers As SPUserCollection
    Get
'Usage
Dim instance As SPWeb
Dim value As SPUserCollection

value = instance.AllUsers
public SPUserCollection AllUsers { get; }

Property Value

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

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace