Share via


GetFullNameFromLogin(Microsoft.SharePoint.SPSite, String) Method

The GetFullNameFromLogin method of the SPUtility class returns the display name of the site user with the specified user name.

Parameters

site   A Microsoft.SharePoint.SPSite object that represents the site.

loginName   A string that contains the user name of the user.

Return Value

A string that contains the display name of the user.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security