SPUtility.GetIdentifierFromEmail method
NOTE: This API is now obsolete.
Retorna o identificador (ID) do usuário sites com base no endereço de email especificado.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<ObsoleteAttribute("Use SPUtility.ResolvePrincipal instead")> _
Public Shared Function GetIdentifierFromEmail ( _
web As SPWeb, _
email As String _
) As String
'Uso
Dim web As SPWeb
Dim email As String
Dim returnValue As String
returnValue = SPUtility.GetIdentifierFromEmail(web, _
email)
[ObsoleteAttribute("Use SPUtility.ResolvePrincipal instead")]
public static string GetIdentifierFromEmail(
SPWeb web,
string email
)
Parâmetros
web
Type: Microsoft.SharePoint.SPWebUm objeto Microsoft.SharePoint.SPWeb que representa o site.
email
Type: System.StringUma cadeia de caracteres que contém o endereço de email.
Valor retornado
Type: System.String
Uma cadeia de caracteres que contém a ID.