GetAllProfiles Method

MySQL Connector/Net

When overridden in a derived class, retrieves user profile data for all profiles in the data source.

Namespace:  MySql.Web.Profile
Assembly:  MySql.Web (in MySql.Web.dll) Version: 6.2.2.0

Syntax

C#
public override ProfileInfoCollection GetAllProfiles(
	ProfileAuthenticationOption authenticationOption,
	int pageIndex,
	int pageSize,
	out int totalRecords
)
Visual Basic (Declaration)
Public Overrides Function GetAllProfiles ( _
	authenticationOption As ProfileAuthenticationOption, _
	pageIndex As Integer, _
	pageSize As Integer, _
	<OutAttribute> ByRef totalRecords As Integer _
) As ProfileInfoCollection
Visual C++
public:
virtual ProfileInfoCollection^ GetAllProfiles(
	ProfileAuthenticationOption authenticationOption, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% totalRecords
) override

Parameters

authenticationOption
Type: System.Web.Profile..::.ProfileAuthenticationOption
One of the ProfileAuthenticationOption values, specifying whether anonymous, authenticated, or both types of profiles are returned.
pageIndex
Type: System..::.Int32
The index of the page of results to return.
pageSize
Type: System..::.Int32
The size of the page of results to return.
totalRecords
Type: System..::.Int32 %
When this method returns, contains the total number of profiles.

Return Value

A ProfileInfoCollection containing user-profile information for all profiles in the data source.

See Also