SPPrincipal.ID property
取得主體的識別項 (ID)。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides ReadOnly Property ID As Integer
Get
'用途
Dim instance As SPPrincipal
Dim value As Integer
value = instance.ID
public override int ID { get; }
Property value
Type: System.Int32
主體的識別碼。