SPUtility.ResolveWindowsPrincipal Method (SPWebApplication, String, SPPrincipalType, Boolean)
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public static SPPrincipalInfo ResolveWindowsPrincipal(
SPWebApplication webApp,
string input,
SPPrincipalType scopes,
bool inputIsEmailOnly
)
Parameters
- webApp
Type: Microsoft.SharePoint.Administration.SPWebApplication
- input
Type: System.String
- scopes
Type: Microsoft.SharePoint.Utilities.SPPrincipalType
- inputIsEmailOnly
Type: System.Boolean
Return Value
Type: Microsoft.SharePoint.Utilities.SPPrincipalInfo
Returns SPPrincipalInfo.