共用方式為


SPManagedAccount.Sid Property

Gets a security identifier for this account.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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