SP.Principal.id Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that specifies the member identifier for the user or group.
var value = SP.Principal.get_id();
Property Value
Type: Int32
Applies To
Exceptions
- ArgumentNullException
Member data is null. Error code: -2147467261.
Remarks
Its value must be equal to or greater than 1. Its value must be equal to or less than 2147483647.