Share via


Principal.Id property

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

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

Syntax

'Declaration
Public ReadOnly Property Id As Integer
    Get
'Usage
Dim instance As Principal
Dim value As Integer

value = instance.Id
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
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