Share via


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)

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