Share via


SPFieldUser.Presence Property

Gets or sets a Boolean value that specifies whether presence is enabled on the field to display user names and e-mail addresses.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Presence As Boolean
    Get
    Set
'Usage
Dim instance As SPFieldUser
Dim value As Boolean

value = instance.Presence

instance.Presence = value
[ClientCallableAttribute]
public bool Presence { get; set; }

Property Value

Type: System.Boolean
true if presence is enabled on the field; otherwise, false.

See Also

Reference

SPFieldUser Class

SPFieldUser Members

Microsoft.SharePoint Namespace