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
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public ReadOnly Property PrincipalId As Integer
Get
'Usage
Dim instance As PrincipalInfo
Dim value As Integer
value = instance.PrincipalId
[RemoteAttribute]
public int PrincipalId { get; }
Property Value
Type: System.Int32
Returns a Int32 instance representing an identifier for the principal.