次の方法で共有


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

Resolves user information (such as email address or display name) into an SPPrincipalInfo object for Windows account.

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

Syntax

'Declaration
Public Shared Function ResolveWindowsPrincipal ( _
    webApp As SPWebApplication, _
    input As String, _
    scopes As SPPrincipalType, _
    inputIsEmailOnly As Boolean _
) As SPPrincipalInfo
'Usage
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
)

Parameters

Return value

Type: Microsoft.SharePoint.Utilities.SPPrincipalInfo
Returns SPPrincipalInfo.

See also

Reference

SPUtility class

SPUtility members

ResolveWindowsPrincipal overload

Microsoft.SharePoint.Utilities namespace