DefaultProfileProvider.FindProfilesByUserName Method (ProfileAuthenticationOption, String, Int32, Int32, Int32)

 

Finds profiles that match the username.

Namespace:   System.Web.Providers
Assembly:  System.Web.Providers (in System.Web.Providers.dll)

Syntax

public override ProfileInfoCollection FindProfilesByUserName(
    ProfileAuthenticationOption authenticationOption,
    string usernameToMatch,
    int pageIndex,
    int pageSize,
    out int totalRecords
)
public:
virtual ProfileInfoCollection^ FindProfilesByUserName(
    ProfileAuthenticationOption authenticationOption,
    String^ usernameToMatch,
    int pageIndex,
    int pageSize,
    [OutAttribute] int% totalRecords
) override
override FindProfilesByUserName : 
        authenticationOption:ProfileAuthenticationOption *
        usernameToMatch:string *
        pageIndex:int *
        pageSize:int *
        totalRecords:int byref -> ProfileInfoCollection
Public Overrides Function FindProfilesByUserName (
    authenticationOption As ProfileAuthenticationOption,
    usernameToMatch As String,
    pageIndex As Integer,
    pageSize As Integer,
    <OutAttribute> ByRef totalRecords As Integer
) As ProfileInfoCollection

Parameters

  • totalRecords
    Type: System.Int32

    The total records of the profiles.

Return Value

Type: System.Web.Profile.ProfileInfoCollection

The profiles with specified username.

See Also

DefaultProfileProvider Class
System.Web.Providers Namespace
ASP.NET Identity

Return to top