This documentation is archived and is not being maintained.

SP.FieldUser object

SharePoint 2013

Specifies a field that contains a user.

Last modified: March 09, 2015

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.FieldUser()

The FieldUser object has the following members.

Constructor

The FieldUser object has the following constructor.

Constructor

Description

FieldUser

Initializes a new instance of the SP.FieldUser object.

Properties

The FieldUser object has the following properties.

Property

Description

allowDisplay

Gets or sets a value that specifies whether to display the name of the user in a survey list.

presence

Gets or sets a value that specifies whether presence is enabled on the field.

selectionGroup

Gets or sets a value that specifies the identifier of the SharePoint group whose members can be selected as values of the field.

selectionMode

Gets or sets a value that specifies whether users and groups or only users can be selected.

Show: