Share via


SummaryLink.LoginName Property

Gets or sets the Session Initiation Protocol (SIP) address of the person who this SummaryLink object references.

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

Syntax

'Declaration
Public Property LoginName As String
    Get
    Set
'Usage
Dim instance As SummaryLink
Dim value As String

value = instance.LoginName

instance.LoginName = value
public string LoginName { get; set; }

Property Value

Type: System.String
The SIP address of the person whom this SummaryLink object references.

Remarks

This property is only set if the SummaryLink object is a link to a person, otherwise it contains an empty string. The LoginName property is the key for the person, and is the data used to look up additional information about that person in the UserProfile object. This value is accessible in the XSL style sheets through the @LoginName parameter.

This property only applies to SummaryLink objects that refer to people.

See Also

Reference

SummaryLink Class

SummaryLink Members

Microsoft.SharePoint.Publishing Namespace

UserProfileManager

UserProfile