Share via


SPSiteAdministration.UsersCount property

Get the number of users in this site collection.

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

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.

See also

Reference

SPSiteAdministration class

SPSiteAdministration members

Microsoft.SharePoint.Administration namespace