Share via


SP.Principal object

Represents a user or group that can be assigned permissions to control security.

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

var object = new SP.Principal()

Members

The Principal object has the following members.

Constructor

The Principal object has the following constructor.

Constructor

Description

Principal

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

The Principal object has the following properties.

Property

Description

id

Gets a value that specifies the member identifier for the user or group.

isHiddenInUI

Gets a value that indicates whether this member should be hidden in the UI.

loginName

Gets the login name of the principal.

principalType

Gets a value containing the type of the principal.

title

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