VistaDB 5






FindUsersByName Method
Syntax
'Declaration
 
Public Overrides NotOverridable Function FindUsersByName( _
   ByVal usernameToMatch As System.String, _
   ByVal pageIndex As System.Integer, _
   ByVal pageSize As System.Integer, _
   ByRef totalRecords As System.Integer _
) As System.Web.Security.MembershipUserCollection
'Usage
 
Dim instance As VistaDBMembershipProvider
Dim usernameToMatch As System.String
Dim pageIndex As System.Integer
Dim pageSize As System.Integer
Dim totalRecords As System.Integer
Dim value As System.Web.Security.MembershipUserCollection
 
value = instance.FindUsersByName(usernameToMatch, pageIndex, pageSize, totalRecords)
public override System.Web.Security.MembershipUserCollection FindUsersByName( 
   System.string usernameToMatch,
   System.int pageIndex,
   System.int pageSize,
   out System.int totalRecords
)
public function FindUsersByName( 
    usernameToMatch: System.String;
    pageIndex: System.Integer;
    pageSize: System.Integer;
   Out  totalRecords: System.Integer
): System.Web.Security.MembershipUserCollection; override; 
public override function FindUsersByName( 
   usernameToMatch : System.String,
   pageIndex : System.int,
   pageSize : System.int,
   totalRecords : System.int
) : System.Web.Security.MembershipUserCollection;
public: System.Web.Security.MembershipUserCollection* FindUsersByName( 
   System.string* usernameToMatch,
   System.int pageIndex,
   System.int pageSize,
   [PARAMFLAG::Out] System.int totalRecords
) override 
public:
System.Web.Security.MembershipUserCollection^ FindUsersByName( 
   System.String^ usernameToMatch,
   System.int pageIndex,
   System.int pageSize,
   [Out] System.int totalRecords
) override 

Parameters

usernameToMatch
pageIndex
pageSize
totalRecords
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also