Compartilhar via


SPPrincipalInfo.PrincipalId Property

Gets the principal identifier.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property PrincipalId As Integer
    Get
'Usage
Dim instance As SPPrincipalInfo
Dim value As Integer

value = instance.PrincipalId
[ClientCallableAttribute]
public int PrincipalId { get; }

Property Value

Type: System.Int32
A string that contains the identifier.

See Also

Reference

SPPrincipalInfo Class

SPPrincipalInfo Members

Microsoft.SharePoint.Utilities Namespace