共用方式為


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
)

參數

傳回值

Type: System.String
字串,其中含有識別碼。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace