SPPrincipal.ID Property

Gets the identifier (ID) of the principal.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxValue, Value := )> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MinValue, Value := )> _
<ClientCallableAttribute(Name := "Id")> _
Public Overrides ReadOnly Property ID As Integer
    Get
'Usage
Dim instance As SPPrincipal
Dim value As Integer

value = instance.ID
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxValue, Value = )]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MinValue, Value = )]
[ClientCallableAttribute(Name = "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