共用方式為


SPClaimsAuthMembershipProvider.GetNumberOfUsersOnline Method

Gets the number of users currently accessing the application.

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

Syntax

'Declaration
Public Overrides Function GetNumberOfUsersOnline As Integer
'Usage
Dim instance As SPClaimsAuthMembershipProvider
Dim returnValue As Integer

returnValue = instance.GetNumberOfUsersOnline()
public override int GetNumberOfUsersOnline()

Return Value

Type: System.Int32
The number of users currently accessing the application.

Remarks

This override gets the number of users currently accessing the application in the membership provider that is not an SPClaimsAuthMembershipProvider, and is used by forms-based authentication in the current application.

See Also

Reference

SPClaimsAuthMembershipProvider Class

SPClaimsAuthMembershipProvider Members

Microsoft.SharePoint.Administration.Claims Namespace