SPUtility.GetFullNameFromLoginEx method (String, Boolean)

Returns the display name of a user with the specified user name and a Boolean value indicating whether the user object represents a distribution list.

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

Syntax

'Declaration
Public Shared Function GetFullNameFromLoginEx ( _
    loginName As String, _
    <OutAttribute> ByRef bIsDL As Boolean _
) As String
'Usage
Dim loginName As String
Dim bIsDL As Boolean
Dim returnValue As String

returnValue = SPUtility.GetFullNameFromLoginEx(loginName, _
    bIsDL)
public static string GetFullNameFromLoginEx(
    string loginName,
    out bool bIsDL
)

Parameters

  • bIsDL
    Type: System.Boolean

    Returns true to indicate that the user object represents a distribution list; otherwise, returns false.

Return value

Type: System.String
The display name of the user or distribution list.

See also

Reference

SPUtility class

SPUtility members

GetFullNameFromLoginEx overload

Microsoft.SharePoint.Utilities namespace