共用方式為


SPSecurityEventProperties.PrincipalId property

取得此事件適用於使用者或安全性群組群組的識別項。

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

Syntax

'宣告
Public ReadOnly Property PrincipalId As Integer
    Get
'用途
Dim instance As SPSecurityEventProperties
Dim value As Integer

value = instance.PrincipalId
public int PrincipalId { get; }

Property value

Type: System.Int32
使用者或安全性群組的群組識別項。

請參閱

參照

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace