Share via


SPQuery.ExpandUserField Property

Gets or sets a Boolean value that specifies whether to use special rendering for user field values that makes them include the login name, e-mail address, Session Initiation Protocol (SIP) address, and title, when present, which causes a user field to behave as a multilookup field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property ExpandUserField As Boolean
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As Boolean

value = instance.ExpandUserField

instance.ExpandUserField = value
public bool ExpandUserField { get; set; }

Property Value

Type: System.Boolean
true to specify that special rendering be used for user field values so that they include the login name, e-mail address, Session Initiation Protocol (SIP) address, and title; otherwise, false.

See Also

Reference

SPQuery Class

SPQuery Members

Microsoft.SharePoint Namespace