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)

public static SPPrincipalInfo ResolveWindowsPrincipal(
	SPWebApplication webApp,
	string input,
	SPPrincipalType scopes,
	bool inputIsEmailOnly
)
Show: