Principal.Id Property

Gets a value that specifies the member identifier for the user or group.

Namespace:  Microsoft.SharePoint.Client
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 Id As Integer
    Get
'Usage
Dim instance As Principal
Dim value As Integer

value = instance.Id
[RemoteAttribute]
public int Id { get; }

Property Value

Type: System.Int32
Returns a Int32 instance that specifies the member identifier for the user or group.

Exceptions

Exception Condition
[System.ArgumentNullException]

Member data is null. Error code: -2147467261.

Remarks

Its value must be equal to or greater than 1. Its value must be equal to or less than 2147483647.

See Also

Reference

Principal Class

Principal Members

Microsoft.SharePoint.Client Namespace