SPProcessIdentity.CurrentSecurityIdentifier property

Gets the current account security identifier.

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

Syntax

'Declaration
Public ReadOnly Property CurrentSecurityIdentifier As SecurityIdentifier
    Get
'Usage
Dim instance As SPProcessIdentity
Dim value As SecurityIdentifier

value = instance.CurrentSecurityIdentifier
public SecurityIdentifier CurrentSecurityIdentifier { get; }

Property value

Type: System.Security.Principal.SecurityIdentifier
A SecurityIdentifier of the current account.

See also

Reference

SPProcessIdentity class

SPProcessIdentity members

Microsoft.SharePoint.Administration namespace