获取主体的标识符 (ID)。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides ReadOnly Property ID As Integer
Get
用法
Dim instance As SPPrincipal
Dim value As Integer
value = instance.ID
public override int ID { get; }
属性值
类型:System.Int32
主体的 ID。