Share via


SingleSignOnMembershipProvider.FindUsersByName Method (String, Int32, Int32, Int32)

 

This method supports the AD FS infrastructure and is not intended to be used directly from your code.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

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

Parameters

  • usernameToMatch
    Type: System.String

    The user name to search for.

  • 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

    The total number of matched users.

Return Value

Type: System.Web.Security.MembershipUserCollection

A collection of users that match the specified names.

See Also

SingleSignOnMembershipProvider Class
System.Web.Security.SingleSignOn Namespace

Return to top