Share via


SPPrincipal.ID property

Gets the identifier (ID) of the principal.

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

Syntax

'Declaration
Public Overrides ReadOnly Property ID As Integer
    Get
'Usage
Dim instance As SPPrincipal
Dim value As Integer

value = instance.ID
public override int ID { get; }

Property value

Type: System.Int32
The ID of the principal.

See also

Reference

SPPrincipal class

SPPrincipal members

Microsoft.SharePoint namespace