SPWeb Properties


SPWeb.AllUsers Property (Microsoft.SharePoint)
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

Visual Basic (Declaration)
Public ReadOnly Property AllUsers As SPUserCollection
Visual Basic (Usage)
Dim instance As SPWeb
Dim value As SPUserCollection

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

Property Value

An SPUserCollection object that represents the users.
See Also

Tags :


Page view tracker