SP.Principal.title property (sp.js)

Gets or sets a value that specifies the name of the principal.

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

var value = SP.Principal.get_title ()
var value = SP.Principal.set_title ()

Return value

Type: String

Remarks

It must not be null. Its length must be equal to or less than 255.