SPUtility.GetIdentifierFromEmail method
NOTE: This API is now obsolete.
會傳回指定的電子郵件地址為基礎的網站 」 使用者的識別碼 (ID)。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPUtility.ResolvePrincipal instead")> _
Public Shared Function GetIdentifierFromEmail ( _
web As SPWeb, _
email As String _
) As String
'用途
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
)
參數
web
Type: Microsoft.SharePoint.SPWebMicrosoft.SharePoint.SPWeb物件,代表該網站。
email
Type: System.String內含電子郵件地址的字串。
傳回值
Type: System.String
字串,其中含有識別碼。