(SPWebApplication, Nullable<SPUrlZone>, String, SPPrincipalType, SPPrincipalSource, Int32, Boolean) del método SPUtility.SearchPrincipals
Espacio de nombres: Microsoft.SharePoint.Utilities
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Public Shared Function SearchPrincipals ( _
webApp As SPWebApplication, _
urlZone As Nullable(Of SPUrlZone), _
input As String, _
scopes As SPPrincipalType, _
sources As SPPrincipalSource, _
maxCount As Integer, _
<OutAttribute> ByRef reachMaxCount As Boolean _
) As IList(Of SPPrincipalInfo)
'Uso
Dim webApp As SPWebApplication
Dim urlZone As Nullable(Of SPUrlZone)
Dim input As String
Dim scopes As SPPrincipalType
Dim sources As SPPrincipalSource
Dim maxCount As Integer
Dim reachMaxCount As Boolean
Dim returnValue As IList(Of SPPrincipalInfo)
returnValue = SPUtility.SearchPrincipals(webApp, _
urlZone, input, scopes, sources, maxCount, _
reachMaxCount)
public static IList<SPPrincipalInfo> SearchPrincipals(
SPWebApplication webApp,
Nullable<SPUrlZone> urlZone,
string input,
SPPrincipalType scopes,
SPPrincipalSource sources,
int maxCount,
out bool reachMaxCount
)
Parámetros
- webApp
Tipo: Microsoft.SharePoint.Administration.SPWebApplication
- urlZone
Tipo: System.Nullable<SPUrlZone>
- input
Tipo: System.String
- scopes
Tipo: Microsoft.SharePoint.Utilities.SPPrincipalType
- sources
Tipo: Microsoft.SharePoint.Utilities.SPPrincipalSource
- maxCount
Tipo: System.Int32
- reachMaxCount
Tipo: System.Boolean
Valor devuelto
Tipo: System.Collections.Generic.IList<SPPrincipalInfo>
Devuelve IList<T>.