SPSecurityEventProperties.PrincipalId property

Gets the identifier of the user or security group that this event applies to.

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

Syntax

'Declaration
Public ReadOnly Property PrincipalId As Integer
    Get
'Usage
Dim instance As SPSecurityEventProperties
Dim value As Integer

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

Property value

Type: System.Int32
The identifier of the user or security group.

See also

Reference

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace