Compartilhar via


SPUtility.ResolveWindowsPrincipal method (SPWebApplication, String, SPPrincipalType, Boolean)

Resolve as informações do usuário (tais como endereço de email ou nome de exibição) em um objeto SPPrincipalInfo de conta do Windows.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Shared Function ResolveWindowsPrincipal ( _
    webApp As SPWebApplication, _
    input As String, _
    scopes As SPPrincipalType, _
    inputIsEmailOnly As Boolean _
) As SPPrincipalInfo
'Uso
Dim webApp As SPWebApplication
Dim input As String
Dim scopes As SPPrincipalType
Dim inputIsEmailOnly As Boolean
Dim returnValue As SPPrincipalInfo

returnValue = SPUtility.ResolveWindowsPrincipal(webApp, _
    input, scopes, inputIsEmailOnly)
public static SPPrincipalInfo ResolveWindowsPrincipal(
    SPWebApplication webApp,
    string input,
    SPPrincipalType scopes,
    bool inputIsEmailOnly
)

Parâmetros

Valor retornado

Type: Microsoft.SharePoint.Utilities.SPPrincipalInfo
Retorna SPPrincipalInfo.

Ver também

Referência

SPUtility class

SPUtility members

ResolveWindowsPrincipal overload

Microsoft.SharePoint.Utilities namespace