SP.Utilities.PrincipalInfo.principalId Property

Applies to: SharePoint Foundation 2010

Gets a value that specifies an identifier for the principal. It must be -1 if the principal does not belong to the current site.

var value = SP.Utilities.PrincipalInfo.get_principalId(); 

Property Value

Type: Int32

Applies To

SP.Utilities.PrincipalInfo Class

See Also


SP.Utilities.PrincipalInfo Methods

SP.Utilities.PrincipalInfo Properties

SP.Utilities Namespace