Share via


GetFullNameFromLoginEx Method

The GetFullNameFromLoginEx method of the SPUtility class returns the display name of a user on the specified site based on the user name and a Boolean value indicating whether the user object represents a distribution list.

Parameters

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

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

bIsDL  true to specify that the user object represents a distribution list; otherwise, false.

Return Value

A string that contains the user name.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security