LdapMembershipProvider.FindUsersByName - Méthode
Ce membre est réservé à une utilisation interne et n’est pas destiné à être utilisé directement à partir de votre code.
Espace de noms : Microsoft.Office.Server.Security
Assembly : Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)
Syntaxe
'Déclaration
Public Overrides Function FindUsersByName ( _
usernameToMatch As String, _
pageIndex As Integer, _
pageSize As Integer, _
<OutAttribute> ByRef totalRecords As Integer _
) As MembershipUserCollection
'Utilisation
Dim instance As LdapMembershipProvider
Dim usernameToMatch As String
Dim pageIndex As Integer
Dim pageSize As Integer
Dim totalRecords As Integer
Dim returnValue As MembershipUserCollection
returnValue = instance.FindUsersByName(usernameToMatch, _
pageIndex, pageSize, totalRecords)
public override MembershipUserCollection FindUsersByName(
string usernameToMatch,
int pageIndex,
int pageSize,
out int totalRecords
)
Paramètres
- usernameToMatch
Type : System.String
- pageIndex
Type : System.Int32
- pageSize
Type : System.Int32
- totalRecords
Type : System.Int32
Valeur renvoyée
Type : System.Web.Security.MembershipUserCollection