PrincipalInfo.PrincipalId property
Gets a value that specifies an identifier for the principal. It must be -1 if the principal does not belong to the current site.
Namespace: Microsoft.SharePoint.Client.Utilities
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property PrincipalId As Integer
Get
'Usage
Dim instance As PrincipalInfo
Dim value As Integer
value = instance.PrincipalId
public int PrincipalId { get; }
Property value
Type: System.Int32
Returns a Int32 instance representing an identifier for the principal.