SPUtility.ResolvePrincipal_Client method
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function ResolvePrincipal_Client ( _
web As SPWeb, _
input As String, _
scopes As SPPrincipalType, _
sources As SPPrincipalSource, _
usersContainer As SPUserCollection, _
inputIsEmailOnly As Boolean _
) As SPPrincipalInfo
'Usage
Dim web As SPWeb
Dim input As String
Dim scopes As SPPrincipalType
Dim sources As SPPrincipalSource
Dim usersContainer As SPUserCollection
Dim inputIsEmailOnly As Boolean
Dim returnValue As SPPrincipalInfo
returnValue = SPUtility.ResolvePrincipal_Client(web, _
input, scopes, sources, usersContainer, _
inputIsEmailOnly)
public static SPPrincipalInfo ResolvePrincipal_Client(
SPWeb web,
string input,
SPPrincipalType scopes,
SPPrincipalSource sources,
SPUserCollection usersContainer,
bool inputIsEmailOnly
)
Parameters
- web
Type: Microsoft.SharePoint.SPWeb
- input
Type: System.String
- scopes
Type: Microsoft.SharePoint.Utilities.SPPrincipalType
- sources
Type: Microsoft.SharePoint.Utilities.SPPrincipalSource
- usersContainer
Type: Microsoft.SharePoint.SPUserCollection
- inputIsEmailOnly
Type: System.Boolean
Return value
Type: Microsoft.SharePoint.Utilities.SPPrincipalInfo