SPSiteAdministration.UsersCount Property
Get the number of users in this site collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property UsersCount As Integer
Get
'Usage
Dim instance As SPSiteAdministration
Dim value As Integer
value = instance.UsersCount
public int UsersCount { get; }
Property Value
Type: System.Int32
A 32-bit integer containing the number of users.