Export (0) Print
Expand All

SPUtility.GetNTFullNameandEmailfromLogin method (SPWeb, String, String, String)

Retrieves the display name and e-mail address that are used in the Windows NT operating system for a user on the specified site.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static void GetNTFullNameandEmailfromLogin(
	SPWeb web,
	string login,
	out string displayName,
	out string email
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb

A SPWeb object that represents the site collection.

login
Type: System.String

A string that contains the user name of the user.

displayName
Type: System.String

A string that contains the display name of the user.

email
Type: System.String

A string that contains the e-mail address of the user.

Show:
© 2014 Microsoft