Share via


SPPrincipalInfo.PrincipalId property

Gets the principal identifier.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property PrincipalId As Integer
    Get
'Usage
Dim instance As SPPrincipalInfo
Dim value As Integer

value = instance.PrincipalId
public int PrincipalId { get; }

Property value

Type: System.Int32
A string that contains the identifier.

See also

Reference

SPPrincipalInfo class

SPPrincipalInfo members

Microsoft.SharePoint.Utilities namespace