VistaDB 5






VistaDB.Web Namespace > VistaDBProfileProvider Class : FindProfilesByUserName Method
FindProfilesByUserName Method
Syntax
'Declaration
 
Public Overrides NotOverridable Function FindProfilesByUserName( _
   ByVal authenticationOption As System.Web.Profile.ProfileAuthenticationOption, _
   ByVal usernameToMatch As System.String, _
   ByVal pageIndex As System.Integer, _
   ByVal pageSize As System.Integer, _
   ByRef totalRecords As System.Integer _
) As System.Web.Profile.ProfileInfoCollection
'Usage
 
Dim instance As VistaDBProfileProvider
Dim authenticationOption As System.Web.Profile.ProfileAuthenticationOption
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.Profile.ProfileInfoCollection
 
value = instance.FindProfilesByUserName(authenticationOption, usernameToMatch, pageIndex, pageSize, totalRecords)
public override System.Web.Profile.ProfileInfoCollection FindProfilesByUserName( 
   System.Web.Profile.ProfileAuthenticationOption authenticationOption,
   System.string usernameToMatch,
   System.int pageIndex,
   System.int pageSize,
   out System.int totalRecords
)
public function FindProfilesByUserName( 
    authenticationOption: System.Web.Profile.ProfileAuthenticationOption;
    usernameToMatch: System.String;
    pageIndex: System.Integer;
    pageSize: System.Integer;
   Out  totalRecords: System.Integer
): System.Web.Profile.ProfileInfoCollection; override; 
public override function FindProfilesByUserName( 
   authenticationOption : System.Web.Profile.ProfileAuthenticationOption,
   usernameToMatch : System.String,
   pageIndex : System.int,
   pageSize : System.int,
   totalRecords : System.int
) : System.Web.Profile.ProfileInfoCollection;
public: System.Web.Profile.ProfileInfoCollection* FindProfilesByUserName( 
   System.Web.Profile.ProfileAuthenticationOption authenticationOption,
   System.string* usernameToMatch,
   System.int pageIndex,
   System.int pageSize,
   [PARAMFLAG::Out] System.int totalRecords
) override 
public:
System.Web.Profile.ProfileInfoCollection^ FindProfilesByUserName( 
   System.Web.Profile.ProfileAuthenticationOption authenticationOption,
   System.String^ usernameToMatch,
   System.int pageIndex,
   System.int pageSize,
   [Out] System.int totalRecords
) override 

Parameters

authenticationOption
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