Share via


SPManagedAccount.Sid property

Gets a security identifier for this account.

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

Syntax

'Declaration
Public Property Sid As SecurityIdentifier
    Get
    Set
'Usage
Dim instance As SPManagedAccount
Dim value As SecurityIdentifier

value = instance.Sid

instance.Sid = value
public SecurityIdentifier Sid { get; set; }

Property value

Type: System.Security.Principal.SecurityIdentifier
A SecurityIdentifier for this account.

Remarks

The set accessor for this property can be called only once. After that, attempts to call the set accessor will throw InvalidOperationException.

See also

Reference

SPManagedAccount class

SPManagedAccount members

Microsoft.SharePoint.Administration namespace