GetUserCountByPortal gets the number of users in the portal

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static int GetUserCountByPortal(
	int portalId
)
Visual Basic
Public Shared Function GetUserCountByPortal ( 
	portalId As Integer
) As Integer

Parameters

portalId
Type: System..::..Int32
The Id of the Portal

Return Value

The no of users

Remarks